head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.52 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.50 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.48 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.46 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.44 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.42 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.40 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.38 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.36 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.34 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.32 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.30 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.28 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.26 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.24 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.22 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.20 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.18 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.16 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.14 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.12 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.10 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.8 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.6 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.4 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.2 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2:1.1.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.5 date 2004.01.28.14.42.21; author recht; state dead; branches; next 1.4; 1.4 date 2003.12.27.04.02.00; author wiz; state Exp; branches; next 1.3; 1.3 date 2003.12.27.03.44.16; author grant; state Exp; branches; next 1.2; 1.2 date 2002.05.27.15.08.16; author veego; state dead; branches; next 1.1; 1.1 date 2002.01.21.14.02.46; author dmcmahill; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2002.06.23.18.53.58; author jlam; state dead; branches; next ; desc @@ 1.5 log @remove libdvdcss, libdvdplay and libdvdread after they have moved to the multimedia category @ text @$NetBSD: patch-aa,v 1.4 2003/12/27 04:02:00 wiz Exp $ --- dvdread/bswap.h.orig Wed Mar 5 23:13:17 2003 +++ dvdread/bswap.h Wed Mar 5 23:14:24 2003 @@@@ -57,7 +57,15 @@@@ #include #define B2N_16(x) x = be16toh(x) #define B2N_32(x) x = be32toh(x) -#define B2N_64(x) x = be64toh(x) +#define B2N_64(x) x = \ + ((((x) & 0xff00000000000000) >> 56) | \ + (((x) & 0x00ff000000000000) >> 40) | \ + (((x) & 0x0000ff0000000000) >> 24) | \ + (((x) & 0x000000ff00000000) >> 8) | \ + (((x) & 0x00000000ff000000) << 8) | \ + (((x) & 0x0000000000ff0000) << 24) | \ + (((x) & 0x000000000000ff00) << 40) | \ + (((x) & 0x00000000000000ff) << 56)) /* This is a slow but portable implementation, it has multiple evaluation * problems so beware. @ 1.4 log @x = x = ... is funny, but unnecessary. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2003/12/27 03:44:16 grant Exp $ @ 1.3 log @add patch to fix build on FreeBSD, where there is no be64toh macro. from Michal Pasternak in PR pkg/23894. @ text @d1 1 a1 1 $NetBSD$ d11 1 a11 1 + x = ((((x) & 0xff00000000000000) >> 56) | \ @ 1.2 log @Update to 0.9.3: Support for MacOS X/Darwin have been added. Ported to use libdvdcss2 (1.2.0 and later). Can now use libdvdcss to also decrypt files on a normal filsystem. A bit more tolerant of incorrectly mastered DVDs. Build robustness fixes from Mark Espie. Added some Doxygen markup and comments. Please note that you need to update libdvdcss to 1.2.0 if you are using it. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2002/01/21 14:02:46 dmcmahill Exp $ d3 19 a21 22 fix format string for LP64 machines. --- dvdread/dvd_reader.c.orig Tue Oct 9 16:07:40 2001 +++ dvdread/dvd_reader.c Sun Jan 20 10:10:50 2002 @@@@ -862,6 +862,6 @@@@ offset * (int64_t) DVD_VIDEO_LB_LEN, SEEK_SET ); if( off != ( offset * (int64_t) DVD_VIDEO_LB_LEN ) ) { - fprintf( stderr, "libdvdread: Can't seek to block %d\n", - offset ); + fprintf( stderr, "libdvdread: Can't seek to block %lld\n", + (long long) offset ); return 0; } @@@@ -879,6 +879,6 @@@@ offset * (int64_t) DVD_VIDEO_LB_LEN, SEEK_SET ); if( off != ( offset * (int64_t) DVD_VIDEO_LB_LEN ) ) { - fprintf( stderr, "libdvdread: Can't seek to block %d\n", - offset ); + fprintf( stderr, "libdvdread: Can't seek to block %lld\n", + (long long) offset ); return 0; } @ 1.1 log @fix format string. Fixes recently noted build problem on alpha. @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @Merge from pkgsrc-current to buildlink2 branch. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2002/01/21 14:02:46 dmcmahill Exp $ @