[SCM] libdrumstick/master: Add patch to prevent FTBFS with newest toolchain (Closes: #615742).

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon Feb 28 11:06:58 UTC 2011


The following commit has been merged in the master branch:
commit 3b75adb81a6041b527bac1d94c0e4f0366dfc497
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Feb 28 12:06:00 2011 +0100

    Add patch to prevent FTBFS with newest toolchain (Closes: #615742).
    
    The patch has been already applied to Ubuntu Natty.

diff --git a/debian/patches/missing_libs.patch b/debian/patches/missing_libs.patch
new file mode 100644
index 0000000..c29678e
--- /dev/null
+++ b/debian/patches/missing_libs.patch
@@ -0,0 +1,20 @@
+Description: Append -lX11 to the linker flags list to fix FTBFS with the
+ newest toolchain.
+Author: Alessio Treglia <alessio at debian.org>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615742
+Forwarded: no
+---
+ CMakeLists.txt |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- libdrumstick.orig/CMakeLists.txt
++++ libdrumstick/CMakeLists.txt
+@@ -83,7 +83,7 @@ IF(QT4_FOUND)
+     INCLUDE (${QT_USE_FILE})
+     INCLUDE_DIRECTORIES (${QT_INCLUDES}) 
+     LINK_DIRECTORIES (${QT_LIBRARY_DIR})
+-    LINK_LIBRARIES (${QT_LIBRARIES})
++    LINK_LIBRARIES (${QT_LIBRARIES} -lX11)
+     ADD_DEFINITIONS (-DQT_STRICT_ITERATORS)
+ ELSE(QT4_FOUND)
+     MESSAGE(FATAL_ERROR "Qt4 not found")
diff --git a/debian/patches/series b/debian/patches/series
index 4b7b0f4..15938d0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 no-lib-suffix.patch
+missing_libs.patch

-- 
libdrumstick packaging



More information about the pkg-multimedia-commits mailing list