update Sat Nov 7 12:37:00 PST 2009
[pkgsrc.git] / multimedia / mplayer-share / patches / patch-ab
1 $NetBSD: patch-ab,v 1.8 2009/11/07 18:43:37 hasso Exp $
2
3 --- libdvdread4/bswap.h.orig
4 +++ libdvdread4/bswap.h
5 @@ -61,7 +61,7 @@
6  #define B2N_32(x) x = swap32(x)
7  #define B2N_64(x) x = swap64(x)
8  
9 -#elif defined(__FreeBSD__) && __FreeBSD_version >= 470000
10 +#elif (defined(__FreeBSD__) && __FreeBSD_version >= 470000) || defined(__DragonFly__)
11  #include <sys/endian.h>
12  #define B2N_16(x) x = be16toh(x)
13  #define B2N_32(x) x = be32toh(x)