1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

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
This commit is contained in:
Koop Mast 2012-07-18 13:54:25 +00:00
parent e1a3f25283
commit 415696a8d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301097

View File

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