iptables: bump to version 1.6.1
[buildroot-gz.git] / package / gstreamer / gst-plugins-base / 0002-audioresample-Fix-build-on-x86-if-emmintrin.h-is-ava.patch
blobeabea4f8ca96e1e6a20e8655b13e7bd9436072d4
1 From daa194b71ea6f9e8ee522ab02e8c56150b7e62b3 Mon Sep 17 00:00:00 2001
2 From: Antoine Jacoutot <ajacoutot@gnome.org>
3 Date: Mon, 20 Jan 2014 15:44:09 +0100
4 Subject: [PATCH] audioresample: Fix build on x86 if emmintrin.h is available
5 but can't be used
7 On i386, EMMINTRIN is defined but not usable without SSE so check for
8 __SSE__ and __SSE2__ as well.
10 https://bugzilla.gnome.org/show_bug.cgi?id=670690
11 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
12 ---
13 gst/audioresample/resample.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
16 diff --git a/gst/audioresample/resample.c b/gst/audioresample/resample.c
17 index 98d006c..481fa01 100644
18 --- a/gst/audioresample/resample.c
19 +++ b/gst/audioresample/resample.c
20 @@ -77,13 +77,13 @@
21 #define EXPORT G_GNUC_INTERNAL
23 #ifdef _USE_SSE
24 -#ifndef HAVE_XMMINTRIN_H
25 +#if !defined(__SSE__) || !defined(HAVE_XMMINTRIN_H)
26 #undef _USE_SSE
27 #endif
28 #endif
30 #ifdef _USE_SSE2
31 -#ifndef HAVE_EMMINTRIN_H
32 +#if !defined(__SSE2__) || !defined(HAVE_XMMINTRIN_H)
33 #undef _USE_SSE2
34 #endif
35 #endif
36 --
37 2.1.4