Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/openal/openal-pentium4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/openal/openal-pentium4.patch')
-rw-r--r--extra/openal/openal-pentium4.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/extra/openal/openal-pentium4.patch b/extra/openal/openal-pentium4.patch
new file mode 100644
index 00000000..a5a39e44
--- /dev/null
+++ b/extra/openal/openal-pentium4.patch
@@ -0,0 +1,43 @@
+diff -rauN openal/CMakeLists.txt openal-pentium4-patch/CMakeLists.txt
+--- openal/CMakeLists.txt 2019-12-12 17:07:05.966917263 +0100
++++ openal-pentium4-patch/CMakeLists.txt 2019-12-12 19:10:50.689347069 +0100
+@@ -311,24 +311,24 @@
+ IF(HAVE_MSSE2_SWITCH)
+ SET(SSE2_SWITCH "-msse2")
+ ENDIF()
+-CHECK_C_COMPILER_FLAG(-msse3 HAVE_MSSE3_SWITCH)
+-IF(HAVE_MSSE3_SWITCH)
+- SET(SSE3_SWITCH "-msse3")
+-ENDIF()
+-CHECK_C_COMPILER_FLAG(-msse4.1 HAVE_MSSE4_1_SWITCH)
+-IF(HAVE_MSSE4_1_SWITCH)
+- SET(SSE4_1_SWITCH "-msse4.1")
+-ENDIF()
+-CHECK_C_COMPILER_FLAG(-mfpu=neon HAVE_MFPU_NEON_SWITCH)
+-IF(HAVE_MFPU_NEON_SWITCH)
+- SET(FPU_NEON_SWITCH "-mfpu=neon")
+-ENDIF()
++#~ CHECK_C_COMPILER_FLAG(-msse3 HAVE_MSSE3_SWITCH)
++#~ IF(HAVE_MSSE3_SWITCH)
++ #~ SET(SSE3_SWITCH "-msse3")
++#~ ENDIF()
++#~ CHECK_C_COMPILER_FLAG(-msse4.1 HAVE_MSSE4_1_SWITCH)
++#~ IF(HAVE_MSSE4_1_SWITCH)
++ #~ SET(SSE4_1_SWITCH "-msse4.1")
++#~ ENDIF()
++#~ CHECK_C_COMPILER_FLAG(-mfpu=neon HAVE_MFPU_NEON_SWITCH)
++#~ IF(HAVE_MFPU_NEON_SWITCH)
++ #~ SET(FPU_NEON_SWITCH "-mfpu=neon")
++#~ ENDIF()
+
+ CHECK_INCLUDE_FILE(xmmintrin.h HAVE_XMMINTRIN_H "${SSE2_SWITCH}")
+ CHECK_INCLUDE_FILE(emmintrin.h HAVE_EMMINTRIN_H "${SSE2_SWITCH}")
+-CHECK_INCLUDE_FILE(pmmintrin.h HAVE_PMMINTRIN_H "${SSE3_SWITCH}")
+-CHECK_INCLUDE_FILE(smmintrin.h HAVE_SMMINTRIN_H "${SSE4_1_SWITCH}")
+-CHECK_INCLUDE_FILE(arm_neon.h HAVE_ARM_NEON_H "${FPU_NEON_SWITCH}")
++#~ CHECK_INCLUDE_FILE(pmmintrin.h HAVE_PMMINTRIN_H "${SSE3_SWITCH}")
++#~ CHECK_INCLUDE_FILE(smmintrin.h HAVE_SMMINTRIN_H "${SSE4_1_SWITCH}")
++#~ CHECK_INCLUDE_FILE(arm_neon.h HAVE_ARM_NEON_H "${FPU_NEON_SWITCH}")
+
+ SET(SSE_FLAGS )
+ SET(FPMATH_SET "0")