aboutsummaryrefslogtreecommitdiff
path: root/multimedia/HandBrake/A00-lame-xmmintrin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/HandBrake/A00-lame-xmmintrin.patch')
-rw-r--r--multimedia/HandBrake/A00-lame-xmmintrin.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/multimedia/HandBrake/A00-lame-xmmintrin.patch b/multimedia/HandBrake/A00-lame-xmmintrin.patch
new file mode 100644
index 0000000000000..0b5237162f1ab
--- /dev/null
+++ b/multimedia/HandBrake/A00-lame-xmmintrin.patch
@@ -0,0 +1,28 @@
+diff -Naur lame.orig/configure lame/configure
+--- lame.orig/configure 2015-02-08 17:37:18.000000000 -0500
++++ lame/configure 2015-02-08 17:38:32.000000000 -0500
+@@ -21031,7 +21031,14 @@
+
+
+
+-
++case $host_cpu in
++powerpc*|i686*)
++ check_xmmintrin=
++ ;;
++*)
++ check_xmmintrin="xmmintrin.h"
++ ;;
++esac
+
+ for ac_header in \
+ errno.h \
+@@ -21042,7 +21049,7 @@
+ sys/soundcard.h \
+ sys/time.h \
+ unistd.h \
+- xmmintrin.h \
++ $check_xmmintrin \
+ linux/soundcard.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`