[openal-soft] 01/01: real arm64 neon fix
Bret Curtis
psi29a at gmail.com
Thu Sep 22 08:37:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
psi29a-guest pushed a commit to branch master
in repository openal-soft.
commit ba17af6a1b7763c95fe51096aad44ed697605f71
Author: Bret Curtis <psi29a at gmail.com>
Date: Thu Sep 22 10:37:06 2016 +0200
real arm64 neon fix
---
debian/changelog | 4 ++--
debian/patches/1_fpu_neon.patch | 11 +++++++----
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 32ff625..98065bf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
-openal-soft (1:1.17.2-3) unstable; urgency=medium
+openal-soft (1:1.17.2-4) unstable; urgency=medium
[ Bret Curtis ]
* fix arm build with broken fpu_neon extension
- -- Bret Curtis <psi29a at gmail.com> Wed, 14 Sep 2016 08:59:01 +0200
+ -- Bret Curtis <psi29a at gmail.com> Wed, 14 Sep 2016 08:59:02 +0200
openal-soft (1:1.17.2-2) unstable; urgency=medium
diff --git a/debian/patches/1_fpu_neon.patch b/debian/patches/1_fpu_neon.patch
index 376a4cf..d62cc78 100644
--- a/debian/patches/1_fpu_neon.patch
+++ b/debian/patches/1_fpu_neon.patch
@@ -1,5 +1,5 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 5784d35..7ed24e9 100644
+index 5784d35..a5a5049 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -360,6 +360,7 @@ SET(SSE_SWITCH "")
@@ -21,11 +21,14 @@ index 5784d35..7ed24e9 100644
ENDIF()
CHECK_C_SOURCE_COMPILES("int foo(const char *str, ...) __attribute__((format(printf, 1, 2)));
-@@ -760,6 +765,7 @@ IF(HAVE_ARM_NEON_H)
+@@ -759,6 +764,10 @@ IF(HAVE_ARM_NEON_H)
+ IF(ALSOFT_CPUEXT_NEON)
SET(HAVE_NEON 1)
SET(ALC_OBJS ${ALC_OBJS} Alc/mixer_neon.c)
++ IF(FPU_NEON_SWITCH)
++ SET_SOURCE_FILES_PROPERTIES(Alc/mixer_neon.c PROPERTIES
++ COMPILE_FLAGS "${FPU_NEON_SWITCH}")
++ ENDIF()
SET(CPU_EXTS "${CPU_EXTS}, Neon")
-+ SET_SOURCE_FILES_PROPERTIES(Alc/mixer_neon.c PROPERTIES COMPILE_FLAGS -mfpu=neon)
ENDIF()
ENDIF()
- IF(ALSOFT_REQUIRE_NEON AND NOT HAVE_NEON)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openal-soft.git
More information about the Pkg-games-commits
mailing list