[SCM] ardour/master: Fix FTBFS with GCC 4.7.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Thu May 17 09:31:22 UTC 2012


The following commit has been merged in the master branch:
commit a08bae6c28266851796ca16765a779ed9ca4f851
Author: Alessio Treglia <alessio at debian.org>
Date:   Thu May 17 11:00:51 2012 +0200

    Fix FTBFS with GCC 4.7.
    
    Closes: #667101
    Thanks: Matthias Klose for the patch.

diff --git a/debian/patches/ftbfs-gcc-4.7.diff b/debian/patches/ftbfs-gcc-4.7.diff
new file mode 100644
index 0000000..e882bc9
--- /dev/null
+++ b/debian/patches/ftbfs-gcc-4.7.diff
@@ -0,0 +1,29 @@
+Description: Fix FTBFS with GCC 4.7.
+Author: Matthias Klose <doko at debian.org>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667101
+Forwarded: no
+---
+ libs/pbd/path.cc             |    1 +
+ libs/rubberband/src/main.cpp |    1 +
+ 2 files changed, 2 insertions(+)
+
+--- ardour.orig/libs/pbd/path.cc
++++ ardour/libs/pbd/path.cc
+@@ -17,6 +17,7 @@
+ */
+ 
+ #include <cerrno>
++#include <unistd.h>
+ 
+ #include <glib.h>
+ #include <glib/gstdio.h>
+--- ardour.orig/libs/rubberband/src/main.cpp
++++ ardour/libs/rubberband/src/main.cpp
+@@ -21,6 +21,7 @@
+ #include <time.h>
+ #include <cstdlib>
+ #include <cstring>
++#include <unistd.h>
+ #include "sysutils.h"
+ 
+ #ifdef __MSVC__
diff --git a/debian/patches/series b/debian/patches/series
index 4e12071..45a887e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
 140_enable-ladish.patch
 150_soundtouch.patch
 160_kfreebsd.patch
+ftbfs-gcc-4.7.diff

-- 
ardour Debian packaging



More information about the pkg-multimedia-commits mailing list