summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gst-plugins-base-1-intrinsics.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gst-plugins-base-1-intrinsics.patch b/src/gst-plugins-base-1-intrinsics.patch
new file mode 100644
index 0000000..f5f01db
--- /dev/null
+++ b/src/gst-plugins-base-1-intrinsics.patch
@@ -0,0 +1,29 @@
+From 50e29104baadb7bd536cd75dce964743ff04518c Mon Sep 17 00:00:00 2001
+From: Timothy Gu <timothygu99@gmail.com>
+Date: Sat, 10 May 2014 17:48:40 -0700
+Subject: [PATCH] Add -msse2 for audioresample
+
+Needed with gcc 4.9. This will break non-x86 compilation -- I know.
+
+Signed-off-by: Timothy Gu <timothygu99@gmail.com>
+---
+ gst/audioresample/Makefile.am | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/gst/audioresample/Makefile.am b/gst/audioresample/Makefile.am
+index 607115d..ae0056d 100644
+--- a/gst/audioresample/Makefile.am
++++ b/gst/audioresample/Makefile.am
+@@ -17,7 +17,8 @@ libgstaudioresample_la_CFLAGS = \
+ $(GST_PLUGINS_BASE_CFLAGS) \
+ $(GST_BASE_CFLAGS) \
+ $(GST_CFLAGS) \
+- $(ORC_CFLAGS)
++ $(ORC_CFLAGS) \
++ -msse2
+
+ libgstaudioresample_la_LIBADD = \
+ $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
+--
+1.9.1
+