mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix the build on i386.
Reported by: H <hm@hm.net.br>, decke@
This commit is contained in:
parent
0bd2771f41
commit
c9e7b3e8f5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300153
2 changed files with 33 additions and 0 deletions
|
@ -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
|
||||
|
|
@ -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
|
Loading…
Add table
Reference in a new issue