diff options
author | roy <roy@pkgsrc.org> | 2015-02-18 19:21:54 +0000 |
---|---|---|
committer | roy <roy@pkgsrc.org> | 2015-02-18 19:21:54 +0000 |
commit | b4556484e71b69928375c2ede7d4e474a3327ba1 (patch) | |
tree | 52bfb970318164f750f2891880539ef6d0fac910 /multimedia/gst-plugins0.10-good | |
parent | af63336078e0e9850bc63a638ebc6a048dd6724f (diff) | |
download | pkgsrc-b4556484e71b69928375c2ede7d4e474a3327ba1.tar.gz |
Fix compile with clang on i386.
Patch taken from FreeBSD.
Diffstat (limited to 'multimedia/gst-plugins0.10-good')
-rw-r--r-- | multimedia/gst-plugins0.10-good/distinfo | 3 | ||||
-rw-r--r-- | multimedia/gst-plugins0.10-good/patches/patch-gst_goom_mmx.h | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/multimedia/gst-plugins0.10-good/distinfo b/multimedia/gst-plugins0.10-good/distinfo index 5e8147db807..58ca1684640 100644 --- a/multimedia/gst-plugins0.10-good/distinfo +++ b/multimedia/gst-plugins0.10-good/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.38 2012/03/06 04:42:51 obache Exp $ +$NetBSD: distinfo,v 1.39 2015/02/18 19:21:54 roy Exp $ SHA1 (gst-plugins-good-0.10.31.tar.bz2) = b45fc01b133fc23617fa501dd9307a90f467b396 RMD160 (gst-plugins-good-0.10.31.tar.bz2) = d9fed957ba26d055f7bccb9079bd43faae15b7e5 @@ -6,4 +6,5 @@ Size (gst-plugins-good-0.10.31.tar.bz2) = 3390378 bytes SHA1 (patch-ab) = d0d8b7fbd373d300e1808b8b106257d87dd85f7a SHA1 (patch-ba) = 0f2cc16c39f8bc2a4854ec928b7c0b60d0559eb5 SHA1 (patch-bb) = b71b740e106b5fc932cc50a7994e491da27909be +SHA1 (patch-gst_goom_mmx.h) = b940bfcd0599fa83fbe574ca9059c7f626d23663 SHA1 (patch-sys_v4l2_gstv4l2object.c) = d0ca0f9f001e6719c64eda0a2eff40ed7da68b65 diff --git a/multimedia/gst-plugins0.10-good/patches/patch-gst_goom_mmx.h b/multimedia/gst-plugins0.10-good/patches/patch-gst_goom_mmx.h new file mode 100644 index 00000000000..bf7aafa8a3a --- /dev/null +++ b/multimedia/gst-plugins0.10-good/patches/patch-gst_goom_mmx.h @@ -0,0 +1,23 @@ +$NetBSD: patch-gst_goom_mmx.h,v 1.1 2015/02/18 19:21:54 roy Exp $ + +Fixes build with clang on i386 +Taken from FreeBSD + +--- gst/goom/mmx.h.orig 2011-12-11 19:48:11.000000000 +0100 ++++ gst/goom/mmx.h 2013-02-08 00:54:14.000000000 +0100 +@@ -715,13 +715,13 @@ void zoom_filter_xmmx (int prevX, int pr + { \ + printf("emms()\n"); \ + __asm__ __volatile__ ("emms" \ +- "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)"); \ ++ "st", "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)"); \ + } + + #else + + #define emms() __asm__ __volatile__ ("emms"::: \ +- "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)") ++ "st", "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)") + + #endif + |