summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2010-09-05 23:00:55 +0000
committerwiz <wiz>2010-09-05 23:00:55 +0000
commit0b0b4c3ec28b9e8fc5d6322cd7c359c3b40f5c4a (patch)
tree46f1529aae31a6c23579dfcb1a83ba88ec6c2ced
parent4f57d5cc1b7f248e06ac95b5f471c94cfabf7712 (diff)
downloadpkgsrc-0b0b4c3ec28b9e8fc5d6322cd7c359c3b40f5c4a.tar.gz
Fix build on Solaris, from Aleksey Cheusov in PR 43841.
-rw-r--r--multimedia/mplayer-share/distinfo3
-rw-r--r--multimedia/mplayer-share/patches/patch-af14
2 files changed, 16 insertions, 1 deletions
diff --git a/multimedia/mplayer-share/distinfo b/multimedia/mplayer-share/distinfo
index 9bc881f97b1..3672007caf6 100644
--- a/multimedia/mplayer-share/distinfo
+++ b/multimedia/mplayer-share/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.65 2009/11/07 18:43:36 hasso Exp $
+$NetBSD: distinfo,v 1.66 2010/09/05 23:00:55 wiz Exp $
SHA1 (mplayer/mplayer-20091017.tar.bz2) = 8ee97842812b9867f192f521b96bb1b6e1742a23
RMD160 (mplayer/mplayer-20091017.tar.bz2) = 015d3847b05f4d674d4740e55f117ce6085d5cc3
@@ -8,6 +8,7 @@ SHA1 (patch-ab) = 821711bc431a4ad6e73b9e4acc6a3311395e1894
SHA1 (patch-ac) = 13ea17bcdde5ebc7e04eeb5eb833dca0cd623ba2
SHA1 (patch-ad) = 0a43a47538f0f18f8b6aa230367821b8bb51e932
SHA1 (patch-ae) = 5a1f1d9f6480fb67a2a12d9088990ed546e1b1e4
+SHA1 (patch-af) = c34a82b77721db7331b189cf3fe32799aea8e1e6
SHA1 (patch-ag) = bef25568c913dcb8535afa51976ce7c94a6af5a2
SHA1 (patch-ah) = 7aeb9f04d622fcad8c40dc9edbb0a58277fc622b
SHA1 (patch-an) = 3e72fb86abe7ab572f12a4fef002edb623ab6fae
diff --git a/multimedia/mplayer-share/patches/patch-af b/multimedia/mplayer-share/patches/patch-af
new file mode 100644
index 00000000000..f7f0503864f
--- /dev/null
+++ b/multimedia/mplayer-share/patches/patch-af
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.6 2010/09/05 23:00:55 wiz Exp $
+
+Fix build on Solaris, see http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1787
+
+--- libswscale/mlib/yuv2rgb_mlib.c.orig 2009-08-16 21:11:28.000000000 +0000
++++ libswscale/mlib/yuv2rgb_mlib.c
+@@ -29,6 +29,7 @@
+ #include <assert.h>
+
+ #include "libswscale/swscale.h"
++#include "libswscale/swscale_internal.h"
+
+ static int mlib_YUV2ARGB420_32(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
+ int srcSliceH, uint8_t* dst[], int dstStride[])