aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2012-07-18 21:54:25 +0800
committerkwm <kwm@FreeBSD.org>2012-07-18 21:54:25 +0800
commit8a8fb25890d2aeb4c8682ed07c63b2ccdd308041 (patch)
treec36f7a22da74ac1ba03504d983f0d6b985f40e99 /multimedia
parent28e42f2cb141057e50b2cb8fcfbdfd96f597a116 (diff)
downloadfreebsd-ports-gnome-8a8fb25890d2aeb4c8682ed07c63b2ccdd308041.tar.gz
freebsd-ports-gnome-8a8fb25890d2aeb4c8682ed07c63b2ccdd308041.tar.zst
freebsd-ports-gnome-8a8fb25890d2aeb4c8682ed07c63b2ccdd308041.zip
Fix another build issue that doesn't shows up on tinderbox.
PR: ports/169842 Reported by: Hans <hm@hm.net.br> Patch tested by: mandree@, submitter
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gstreamer-plugins/files/patch-gst_audioresample_float.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/files/patch-gst_audioresample_float.c b/multimedia/gstreamer-plugins/files/patch-gst_audioresample_float.c
new file mode 100644
index 000000000000..b088869104fc
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-gst_audioresample_float.c
@@ -0,0 +1,23 @@
+--- gst/audioresample/speex_resampler_float.c.orig 2012-07-17 09:48:45.000000000 +0200
++++ gst/audioresample/speex_resampler_float.c 2012-07-17 09:49:38.000000000 +0200
+@@ -17,8 +17,20 @@
+ * 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_SSE
+ #define _USE_SSE2
++#endif
++#endif
++
+ #define FLOATING_POINT
+ #define OUTSIDE_SPEEX
+ #define RANDOM_PREFIX resample_float