summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-11-07 18:43:36 +0000
committerhasso <hasso@pkgsrc.org>2009-11-07 18:43:36 +0000
commitd957a68acda6fbd4cbea83d68c19622b6b5adfa8 (patch)
treee3a586f8e44704c2490e41f2f6aebdc7e61e028e /multimedia
parent1811e11ce72a74fc595f7d16bbc27eb88150bca2 (diff)
downloadpkgsrc-d957a68acda6fbd4cbea83d68c19622b6b5adfa8.tar.gz
Fix build on DragonFly.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mplayer-share/distinfo3
-rw-r--r--multimedia/mplayer-share/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/multimedia/mplayer-share/distinfo b/multimedia/mplayer-share/distinfo
index 08d85ff6e76..9bc881f97b1 100644
--- a/multimedia/mplayer-share/distinfo
+++ b/multimedia/mplayer-share/distinfo
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.64 2009/10/19 00:13:07 ahoka Exp $
+$NetBSD: distinfo,v 1.65 2009/11/07 18:43:36 hasso Exp $
SHA1 (mplayer/mplayer-20091017.tar.bz2) = 8ee97842812b9867f192f521b96bb1b6e1742a23
RMD160 (mplayer/mplayer-20091017.tar.bz2) = 015d3847b05f4d674d4740e55f117ce6085d5cc3
Size (mplayer/mplayer-20091017.tar.bz2) = 8525942 bytes
SHA1 (patch-aa) = 24007024e4b6bfa212817681e8d07cc079aee13b
+SHA1 (patch-ab) = 821711bc431a4ad6e73b9e4acc6a3311395e1894
SHA1 (patch-ac) = 13ea17bcdde5ebc7e04eeb5eb833dca0cd623ba2
SHA1 (patch-ad) = 0a43a47538f0f18f8b6aa230367821b8bb51e932
SHA1 (patch-ae) = 5a1f1d9f6480fb67a2a12d9088990ed546e1b1e4
diff --git a/multimedia/mplayer-share/patches/patch-ab b/multimedia/mplayer-share/patches/patch-ab
new file mode 100644
index 00000000000..3935364a4b5
--- /dev/null
+++ b/multimedia/mplayer-share/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.8 2009/11/07 18:43:37 hasso Exp $
+
+--- libdvdread4/bswap.h.orig
++++ libdvdread4/bswap.h
+@@ -61,7 +61,7 @@
+ #define B2N_32(x) x = swap32(x)
+ #define B2N_64(x) x = swap64(x)
+
+-#elif defined(__FreeBSD__) && __FreeBSD_version >= 470000
++#elif (defined(__FreeBSD__) && __FreeBSD_version >= 470000) || defined(__DragonFly__)
+ #include <sys/endian.h>
+ #define B2N_16(x) x = be16toh(x)
+ #define B2N_32(x) x = be32toh(x)