[SCM] calf/master: Add patch 1001 to fix FTBFS with gcc 4.7 by including <unistd.h>. Closes: bug#667126. Thanks to Cyril Brulebois.

js at users.alioth.debian.org js at users.alioth.debian.org
Thu Apr 5 10:13:34 UTC 2012


The following commit has been merged in the master branch:
commit 5a4eacbd317279b9a8f4d08740f1ff131ddfde96
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Apr 5 11:51:38 2012 +0200

    Add patch 1001 to fix FTBFS with gcc 4.7 by including <unistd.h>. Closes: bug#667126. Thanks to Cyril Brulebois.

diff --git a/debian/patches/1001_fix-ftbfs-with-gcc-4.7.patch b/debian/patches/1001_fix-ftbfs-with-gcc-4.7.patch
new file mode 100644
index 0000000..089c349
--- /dev/null
+++ b/debian/patches/1001_fix-ftbfs-with-gcc-4.7.patch
@@ -0,0 +1,34 @@
+Description: Fix FTBFS with gcc 4.7 by including <unistd.h>
+Author: Cyril Brulebois <kibi at debian.org>
+Bug-Debian: http://bugs.debian.org/667126
+
+--- a/src/osctlnet.cpp
++++ b/src/osctlnet.cpp
+@@ -26,6 +26,7 @@
+ #include <stdlib.h>
+ #include <sstream>
+ #include <stdio.h>
++#include <unistd.h>
+ using namespace osctl;
+ using namespace std;
+ 
+--- a/src/preset.cpp
++++ b/src/preset.cpp
+@@ -25,6 +25,7 @@
+ #include <errno.h>
+ #include <string.h>
+ #include <sys/stat.h>
++#include <unistd.h>
+ 
+ #include <expat.h>
+ #include <calf/preset.h>
+--- a/src/calf/benchmark.h
++++ b/src/calf/benchmark.h
+@@ -27,6 +27,7 @@
+ #include "primitives.h"
+ #include <algorithm>
+ #include <typeinfo>
++#include <unistd.h>
+ 
+ namespace dsp {
+ #if 0
diff --git a/debian/patches/series b/debian/patches/series
index 7a2909c..ba96d83 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-libglade_to_gtkbuilder.patch
+1001_fix-ftbfs-with-gcc-4.7.patch

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list