From 34cc81413a56f00905e0a4532c52b608e0455fb4 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Sat, 10 May 2014 18:00:45 -0700 Subject: Fix gst-plugins-base with GCC 4.9 Similar to 79c52845c3df332649cb3c98e0aae0720a56fb61. Fixes #406. Signed-off-by: Timothy Gu --- src/gst-plugins-base-1-intrinsics.patch | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/gst-plugins-base-1-intrinsics.patch 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 +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 +--- + 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 + -- cgit v0.12