[SCM] jack-capture/master: Add patch to fix linking flags order to prevent the build failure with GCC 4.5.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Fri Dec 3 11:14:55 UTC 2010


The following commit has been merged in the master branch:
commit 3331f7010b95c356b908979a36742740a309bdb4
Author: Alessio Treglia <alessio at debian.org>
Date:   Fri Dec 3 12:13:59 2010 +0100

    Add patch to fix linking flags order to prevent the build failure with GCC 4.5.

diff --git a/debian/patches/03-linking_order.patch b/debian/patches/03-linking_order.patch
new file mode 100644
index 0000000..277e0d1
--- /dev/null
+++ b/debian/patches/03-linking_order.patch
@@ -0,0 +1,18 @@
+Description: Fix linking order to prevent FTBFS with GCC 4.5.
+Author: Alessio Treglia <alessio at debian.org>
+Forwarded: k.s.matheussen at notam02.no
+---
+ Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- jack-capture.orig/Makefile
++++ jack-capture/Makefile
+@@ -58,7 +58,7 @@ jack_capture: setformat.c jack_capture.c
+ 
+ 
+ jack_capture_gui2: jack_capture_gui2.cpp
+-	$(CPP) $(OPTIMIZE) `pkg-config --libs --cflags gtk+-2.0` jack_capture_gui2.cpp -o jack_capture_gui2
++	$(CPP) $(OPTIMIZE) jack_capture_gui2.cpp `pkg-config --libs --cflags gtk+-2.0` -o jack_capture_gui2
+ 
+ config_flags: Makefile das_config.h
+ 	cat das_config.h |grep COMPILEFLAGS|sed s/\\/\\/COMPILEFLAGS// >config_flags
diff --git a/debian/patches/series b/debian/patches/series
index cbdbb00..6b5d3bf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01-makefile-prefix.patch
 02-makefile-compile-option.patch
+03-linking_order.patch

-- 
jack-capture packaging



More information about the pkg-multimedia-commits mailing list