diff options
author | Koop Mast <kwm@FreeBSD.org> | 2012-06-28 08:47:09 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2012-06-28 08:47:09 +0000 |
commit | c9e7b3e8f5596e633948db41160e2fd1af03230a (patch) | |
tree | 28b23b7928ccae07001398bf08041aa71c01b7e7 | |
parent | 0bd2771f41abb90b5138c555efce18ce50bb1124 (diff) | |
download | ports-c9e7b3e8f5596e633948db41160e2fd1af03230a.tar.gz ports-c9e7b3e8f5596e633948db41160e2fd1af03230a.zip |
Notes
-rw-r--r-- | multimedia/gstreamer-plugins/files/patch-gst_audioresample_resample.c | 12 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins/files/patch-gst_audioresample_speex-resampler-double.c | 21 |
2 files changed, 33 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/files/patch-gst_audioresample_resample.c b/multimedia/gstreamer-plugins/files/patch-gst_audioresample_resample.c new file mode 100644 index 000000000000..aa5c15195dd3 --- /dev/null +++ b/multimedia/gstreamer-plugins/files/patch-gst_audioresample_resample.c @@ -0,0 +1,12 @@ +--- gst/audioresample/resample.c.orig 2012-06-28 10:15:58.000000000 +0200 ++++ gst/audioresample/resample.c 2012-06-28 10:22:41.000000000 +0200 +@@ -79,6 +79,9 @@ + #ifdef _USE_SSE + #ifndef HAVE_XMMINTRIN_H + #undef _USE_SSE ++/* this is a hack to build on i386, there the configure check for emmintrin.h ++ doesn't fail but the xmmintrin.h does. */ ++#undef _USE_SSE2 + #endif + #endif + diff --git a/multimedia/gstreamer-plugins/files/patch-gst_audioresample_speex-resampler-double.c b/multimedia/gstreamer-plugins/files/patch-gst_audioresample_speex-resampler-double.c new file mode 100644 index 000000000000..97d8e785a2ca --- /dev/null +++ b/multimedia/gstreamer-plugins/files/patch-gst_audioresample_speex-resampler-double.c @@ -0,0 +1,21 @@ +--- gst/audioresample/speex_resampler_double.c.orig 2012-06-28 10:31:31.000000000 +0200 ++++ gst/audioresample/speex_resampler_double.c 2012-06-28 10:33:01.000000000 +0200 +@@ -17,7 +17,18 @@ + * Boston, MA 02111-1307, USA. + */ + ++#ifdef HAVE_CONFIG_H ++#include "config.h" ++#endif ++ ++#ifdef _USE_SSE ++#ifndef HAVE_XMMINTRIN_H ++#undef _USE_SSE ++#undef _USE_SSE2 ++#else + #define _USE_SSE2 ++#endif ++#endif + #define FLOATING_POINT + #define DOUBLE_PRECISION + #define OUTSIDE_SPEEX |