aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mplayer
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-05-10 20:06:45 +0800
committerpav <pav@FreeBSD.org>2005-05-10 20:06:45 +0800
commitb529993c4b609cf14357c206a479cfe898887805 (patch)
tree9343248638c8565eab5e9d88123193436c0f4c11 /multimedia/mplayer
parentca85277d3c41b7b568a1152bc6c4b75042a7082a (diff)
downloadfreebsd-ports-graphics-b529993c4b609cf14357c206a479cfe898887805.tar.gz
freebsd-ports-graphics-b529993c4b609cf14357c206a479cfe898887805.tar.zst
freebsd-ports-graphics-b529993c4b609cf14357c206a479cfe898887805.zip
- Back out native bswap commit for FreeBSD 4.x, where it does not compile.
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r--multimedia/mplayer/files/patch-bswap.h2
-rw-r--r--multimedia/mplayer/files/patch-libavcodec-bswap.h2
-rw-r--r--multimedia/mplayer/files/patch-libmpdvdkit2-bswap.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/mplayer/files/patch-bswap.h b/multimedia/mplayer/files/patch-bswap.h
index 5cd0c6e78d0..b26544f3525 100644
--- a/multimedia/mplayer/files/patch-bswap.h
+++ b/multimedia/mplayer/files/patch-bswap.h
@@ -10,7 +10,7 @@
+
#ifdef HAVE_BYTESWAP_H
#include <byteswap.h>
-+#elif (defined(__FreeBSD__) && __FreeBSD_version >= 470000)
++#elif (defined(__FreeBSD__) && __FreeBSD_version >= 500000)
+#include <sys/endian.h>
+#define bswap_16(x) bswap16(x)
+#define bswap_32(x) bswap32(x)
diff --git a/multimedia/mplayer/files/patch-libavcodec-bswap.h b/multimedia/mplayer/files/patch-libavcodec-bswap.h
index e75b89c3719..7df359bd5e0 100644
--- a/multimedia/mplayer/files/patch-libavcodec-bswap.h
+++ b/multimedia/mplayer/files/patch-libavcodec-bswap.h
@@ -10,7 +10,7 @@
+
#ifdef HAVE_BYTESWAP_H
#include <byteswap.h>
-+#elif (defined(__FreeBSD__) && __FreeBSD_version >= 470000)
++#elif (defined(__FreeBSD__) && __FreeBSD_version >= 500000)
+#include <sys/endian.h>
+#define bswap_16(x) bswap16(x)
+#define bswap_32(x) bswap32(x)
diff --git a/multimedia/mplayer/files/patch-libmpdvdkit2-bswap.h b/multimedia/mplayer/files/patch-libmpdvdkit2-bswap.h
index cede4f49b81..64054aa650e 100644
--- a/multimedia/mplayer/files/patch-libmpdvdkit2-bswap.h
+++ b/multimedia/mplayer/files/patch-libmpdvdkit2-bswap.h
@@ -16,7 +16,7 @@
#define B2N_32(x) x = bswap_32(x)
#define B2N_64(x) x = bswap_64(x)
+
-+#elif (defined(__FreeBSD__) && __FreeBSD_version >= 470000)
++#elif (defined(__FreeBSD__) && __FreeBSD_version >= 500000)
+#include <sys/endian.h>
+#define B2N_16(x) be16toh(x)
+#define B2N_32(x) be32toh(x)