[SCM] qtractor/master: Add patch to prevent FTBFS with GCC 4.7.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Wed Apr 4 07:38:45 UTC 2012


The following commit has been merged in the master branch:
commit 9ef1ef8dd041418b1d5b7539b7b8568660b02c57
Author: Alessio Treglia <alessio at debian.org>
Date:   Wed Apr 4 09:29:33 2012 +0200

    Add patch to prevent FTBFS with GCC 4.7.
    
    Closes: #667345

diff --git a/debian/patches/03-gcc47.patch b/debian/patches/03-gcc47.patch
new file mode 100644
index 0000000..8d73f85
--- /dev/null
+++ b/debian/patches/03-gcc47.patch
@@ -0,0 +1,18 @@
+Description: Fix build failure with GCC4.7.
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667345
+Author: Alessio Treglia <alessio at debian.org>
+Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3514794&group_id=135501&atid=733076
+---
+ src/qtractor.cpp |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- qtractor.orig/src/qtractor.cpp
++++ qtractor/src/qtractor.cpp
+@@ -27,6 +27,7 @@
+ #include <QLibraryInfo>
+ #include <QTranslator>
+ #include <QLocale>
++#include <unistd.h>
+ 
+ #if QT_VERSION < 0x040300
+ #define lighter(x)	light(x)
diff --git a/debian/patches/series b/debian/patches/series
index 21cc9b1..53ede1b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1 @@
-02-package_url.patch
+03-gcc47.patch

-- 
qtractor packaging



More information about the pkg-multimedia-commits mailing list