aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libdvdread/files/patch-dvdread::bswap.h
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libdvdread/files/patch-dvdread::bswap.h')
-rw-r--r--multimedia/libdvdread/files/patch-dvdread::bswap.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/multimedia/libdvdread/files/patch-dvdread::bswap.h b/multimedia/libdvdread/files/patch-dvdread::bswap.h
deleted file mode 100644
index 02bb51851df..00000000000
--- a/multimedia/libdvdread/files/patch-dvdread::bswap.h
+++ /dev/null
@@ -1,22 +0,0 @@
---- dvdread/bswap.h.orig Sat Nov 13 17:18:54 2004
-+++ dvdread/bswap.h Sat Nov 13 18:01:26 2004
-@@ -57,7 +57,19 @@
- #include <sys/endian.h>
- #define B2N_16(x) x = be16toh(x)
- #define B2N_32(x) x = be32toh(x)
-+# if __FreeBSD_version >= 510000
- #define B2N_64(x) x = be64toh(x)
-+# else
-+#define B2N_64(x) 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))
-+# endif
-
- /* This is a slow but portable implementation, it has multiple evaluation
- * problems so beware.