[SCM] amsynth/master: Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> include.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Thu Apr 5 08:08:25 UTC 2012
The following commit has been merged in the master branch:
commit 81d38ffb4237442165846933e78b4357bf8471f7
Author: Alessio Treglia <alessio at debian.org>
Date: Thu Apr 5 10:00:54 2012 +0200
Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> include.
Thanks: Cyril Brulebois <kibi at debian.org>
Closes: 667098
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..ea94b69
--- /dev/null
+++ b/debian/patches/1001-fix_ftbfs_with_gcc_4.7.patch
@@ -0,0 +1,14 @@
+Description: Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> include.
+Author: Cyril Brulebois <kibi at debian.org>
+Bug-Debian: http://bugs.debian.org/667098
+
+--- amsynth-1.3.0.orig/src/Config.cc
++++ amsynth-1.3.0/src/Config.cc
+@@ -8,6 +8,7 @@
+ #include <iostream>
+ #include <cstdlib>
+ #include <sstream>
++#include <unistd.h>
+
+ using namespace std;
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fc4004f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+1001-fix_ftbfs_with_gcc_4.7.patch
--
amsynth packaging
More information about the pkg-multimedia-commits
mailing list