freebsd-ports/multimedia/gstreamer-plugins/files/patch-gst_audioresample_float.c
Koop Mast 415696a8d6 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
2012-07-18 13:54:25 +00:00

23 lines
505 B
C

--- 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