[SCM] zynaddsubfx/master: Add patch to fix build on armel and armhf.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Wed Jun 15 18:48:44 UTC 2016


The following commit has been merged in the master branch:
commit 2f3de2600c9f1da0a3112b373962a0c0c0b42fb5
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Wed Jun 15 20:48:29 2016 +0200

    Add patch to fix build on armel and armhf.

diff --git a/debian/patches/0001-fix-build.patch b/debian/patches/0001-fix-build.patch
new file mode 100644
index 0000000..c059bf4
--- /dev/null
+++ b/debian/patches/0001-fix-build.patch
@@ -0,0 +1,26 @@
+Description: Fix build on armel and armhf archs.
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: no
+
+Index: zynaddsubfx/src/CMakeLists.txt
+===================================================================
+--- zynaddsubfx.orig/src/CMakeLists.txt
++++ zynaddsubfx/src/CMakeLists.txt
+@@ -45,7 +45,7 @@ CHECK_CXX_SOURCE_COMPILES(
+     int main(){return 0;}" HAVE_ASYNC)
+ 
+ check_cxx_compiler_flag("-msse2" SUPPORT_SSE)
+-check_cxx_compiler_flag("-mfpu=neon -Werror" SUPPORT_NEON)
++check_cxx_compiler_flag("-Werror" SUPPORT_NEON)
+ 
+ set(CMAKE_REQUIRED_FLAGS "")
+ 
+@@ -171,7 +171,7 @@ set (BuildOptions_X86_64Core2
+ )
+ 
+ set (BuildOptions_NEON
+-    "-march=armv7-a -mfloat-abi=hard -mfpu=neon -mcpu=cortex-a9 -mtune=cortex-a9 -pipe -mvectorize-with-neon-quad -funsafe-loop-optimizations"
++    "-march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -pipe -mvectorize-with-neon-quad -funsafe-loop-optimizations"
+   CACHE STRING "Cortex_a9 compiler options"
+ )
+ set (BuildOptions_SSE
diff --git a/debian/patches/series b/debian/patches/series
index 07f4e74..bf53083 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+0001-fix-build.patch
 0003-dont_duplicate_changelog_files.patch
 0004-spelling.patch

-- 
zynaddsubfx packaging



More information about the pkg-multimedia-commits mailing list