diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-05-17 18:01:39 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-05-17 18:01:39 +0000 |
commit | 52844642b5bdf003f044b78969320af315569480 (patch) | |
tree | 71757b5154445d51539a312ed8a4fd5d528d7f10 /multimedia/mplayer | |
parent | a8971230e48745cd91047b6f93914585b72a7931 (diff) |
Notes
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r-- | multimedia/mplayer/Makefile | 2 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-libmpdvdkit2-bswap.h | 26 |
2 files changed, 1 insertions, 27 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile index 725e224605c9..e0fac6c5e68d 100644 --- a/multimedia/mplayer/Makefile +++ b/multimedia/mplayer/Makefile @@ -264,7 +264,7 @@ PORTNAME= mplayer PORTVERSION= 0.99.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia audio ipv6 MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \ http://www2.mplayerhq.hu/MPlayer/releases/ \ diff --git a/multimedia/mplayer/files/patch-libmpdvdkit2-bswap.h b/multimedia/mplayer/files/patch-libmpdvdkit2-bswap.h deleted file mode 100644 index 64054aa650eb..000000000000 --- a/multimedia/mplayer/files/patch-libmpdvdkit2-bswap.h +++ /dev/null @@ -1,26 +0,0 @@ ---- libmpdvdkit2/bswap.h.orig Thu Mar 10 23:40:06 2005 -+++ libmpdvdkit2/bswap.h Mon May 9 12:31:34 2005 -@@ -24,6 +24,10 @@ - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -+#if (defined(__unix__) || defined(unix)) && !defined(USG) -+#include <sys/param.h> -+#endif -+ - #if defined(WORDS_BIGENDIAN) - /* All bigendian systems are fine, just ignore the swaps. */ - #define B2N_16(x) (void)(x) -@@ -37,6 +41,12 @@ - #define B2N_16(x) x = bswap_16(x) - #define B2N_32(x) x = bswap_32(x) - #define B2N_64(x) x = bswap_64(x) -+ -+#elif (defined(__FreeBSD__) && __FreeBSD_version >= 500000) -+#include <sys/endian.h> -+#define B2N_16(x) be16toh(x) -+#define B2N_32(x) be32toh(x) -+#define B2N_64(x) be64toh(x) - - #elif defined(__NetBSD__) - #include <sys/endian.h> |