summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-05-06 06:08:43 +0000
committerobache <obache@pkgsrc.org>2013-05-06 06:08:43 +0000
commit9b62b829e6642f5b14e934c7e41ee7bcafe9a38c (patch)
treee8e568658f1cbd6ff594f02fa9adb7f037d830a7 /multimedia
parent529c462921466b46366c0883fb5aa666d5b72220 (diff)
downloadpkgsrc-9b62b829e6642f5b14e934c7e41ee7bcafe9a38c.tar.gz
apply same patch as gst-plugin0.10-base to fix build on i386 without SSE/SSE2
support.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gst-plugins1-base/distinfo3
-rw-r--r--multimedia/gst-plugins1-base/patches/patch-gst_audioresample_resample.c23
2 files changed, 25 insertions, 1 deletions
diff --git a/multimedia/gst-plugins1-base/distinfo b/multimedia/gst-plugins1-base/distinfo
index 49fdc499a9a..5760d35460a 100644
--- a/multimedia/gst-plugins1-base/distinfo
+++ b/multimedia/gst-plugins1-base/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2013/05/03 15:58:36 drochner Exp $
+$NetBSD: distinfo,v 1.5 2013/05/06 06:08:43 obache Exp $
SHA1 (gst-plugins-base-1.0.7.tar.xz) = c9e057774746c6dea07052fa0fec9cfc2519ceea
RMD160 (gst-plugins-base-1.0.7.tar.xz) = c3751b5e09290513df96e3496196ff8e07610016
Size (gst-plugins-base-1.0.7.tar.xz) = 2388380 bytes
SHA1 (patch-ext_alsa_gstalsasink.c) = f344b819e65b42f49c2328f8bf3e8c075e5dd24b
SHA1 (patch-ext_alsa_gstalsasrc.c) = dd966d2a7f1b952a90c1aa78e726b8272ac40f9d
+SHA1 (patch-gst_audioresample_resample.c) = 492cc82935e63a58f6d6e0ed04eacfce47c09146
diff --git a/multimedia/gst-plugins1-base/patches/patch-gst_audioresample_resample.c b/multimedia/gst-plugins1-base/patches/patch-gst_audioresample_resample.c
new file mode 100644
index 00000000000..f184b6c5548
--- /dev/null
+++ b/multimedia/gst-plugins1-base/patches/patch-gst_audioresample_resample.c
@@ -0,0 +1,23 @@
+$NetBSD: patch-gst_audioresample_resample.c,v 1.1 2013/05/06 06:08:43 obache Exp $
+
+* fix build on i386 without SSE/SSE2 support.
+https://bugzilla.gnome.org/show_bug.cgi?id=670690
+
+--- gst/audioresample/resample.c.orig 2013-04-26 07:26:19.000000000 +0000
++++ gst/audioresample/resample.c
+@@ -77,13 +77,13 @@
+ #define EXPORT G_GNUC_INTERNAL
+
+ #ifdef _USE_SSE
+-#ifndef HAVE_XMMINTRIN_H
++#ifndef __SSE__
+ #undef _USE_SSE
+ #endif
+ #endif
+
+ #ifdef _USE_SSE2
+-#ifndef HAVE_EMMINTRIN_H
++#ifndef __SSE2__
+ #undef _USE_SSE2
+ #endif
+ #endif