[SCM] qtractor packaging branch, master, updated. debian/0.4.4-1-3-gb507168

quadrispro-guest at users.alioth.debian.org quadrispro-guest at users.alioth.debian.org
Tue Jan 19 11:23:24 UTC 2010


The following commit has been merged in the master branch:
commit b507168efe0170f0a07eb3dfca2127b761851dee
Author: Alessio Treglia <quadrispro at ubuntu.com>
Date:   Tue Jan 19 12:23:01 2010 +0100

    Add patch to prevent FTBFS on non-x86 architectures (Closes: #565860); patch provided by Adrian Knoth.

diff --git a/debian/patches/04-nonx86_ftbfs.patch b/debian/patches/04-nonx86_ftbfs.patch
new file mode 100644
index 0000000..7a4f374
--- /dev/null
+++ b/debian/patches/04-nonx86_ftbfs.patch
@@ -0,0 +1,27 @@
+Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
+Description: Restore old C*FLAGS values if SSE test fails. 
+---
+ configure.ac |    5 +++++
+ 1 file changed, 5 insertions(+)
+
+--- qtractor.orig/configure.ac
++++ qtractor/configure.ac
+@@ -274,6 +274,8 @@ fi
+ # Check for SSE optimization.
+ if test "x$ac_sse" = "xyes"; then
+    ac_sse_cflags="-msse -mfpmath=sse -ffast-math"
++   CFLAGS_OLD="$CFLAGS"
++   CPPFLAGS_OLD="$CPPFLAGS"
+    CFLAGS="$ac_sse_cflags $CFLAGS"
+    CPPFLAGS="$ac_sse_cflags $CPPFLAGS"
+    AC_CACHE_CHECK([for SSE optimization],
+@@ -294,6 +296,9 @@ if test "x$ac_sse" = "xyes"; then
+    ac_sse=$ac_cv_sse
+    if test "x$ac_sse" = "xyes"; then
+       ac_cflags="$ac_sse_cflags $ac_cflags"
++  else
++      CFLAGS="$CFLAGS_OLD"
++      CPPFLAGS="$CPPFLAGS_OLD"
+    fi
+ fi
+ 

-- 
qtractor packaging



More information about the pkg-multimedia-commits mailing list