[SCM] rubberband/master: Added patch to fix build on armel
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Tue Jun 4 23:43:20 UTC 2013
The following commit has been merged in the master branch:
commit 6eb158a6acd290b13b4c317f03b2246eb7a4a8a1
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Wed Jun 5 01:52:01 2013 +0200
Added patch to fix build on armel
diff --git a/debian/patches/03-fix_build_on_armel.patch b/debian/patches/03-fix_build_on_armel.patch
new file mode 100644
index 0000000..45f6bc6
--- /dev/null
+++ b/debian/patches/03-fix_build_on_armel.patch
@@ -0,0 +1,21 @@
+Description: Patch fixing build on armel
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: no
+
+Index: rubberband/src/system/sysutils.cpp
+===================================================================
+--- rubberband.orig/src/system/sysutils.cpp 2012-12-10 04:09:09.987302198 +0100
++++ rubberband/src/system/sysutils.cpp 2013-06-05 01:38:34.742177042 +0200
+@@ -224,10 +224,10 @@
+ static const unsigned int y = 0x03000000;
+ int r;
+ asm volatile (
+- "fmrx %0, fpscr \n\t"
++ "vmrs %0, fpscr \n\t"
+ "and %0, %0, %1 \n\t"
+ "orr %0, %0, %2 \n\t"
+- "fmxr fpscr, %0 \n\t"
++ "vmsr fpscr, %0 \n\t"
+ : "=r"(r)
+ : "r"(x), "r"(y)
+ );
diff --git a/debian/patches/series b/debian/patches/series
index 638c2ce..c45b541 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
02-fix_multiarch.patch
+03-fix_build_on_armel.patch
--
rubberband packaging
More information about the pkg-multimedia-commits
mailing list