[SCM] amsynth/master: Attempt to fix build failure on non-Linuxes.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon Apr 28 22:40:46 UTC 2014


The following commit has been merged in the master branch:
commit 4979c4eb1348106e64276a60c84ccbe2167e5bfa
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Apr 28 23:33:27 2014 +0100

    Attempt to fix build failure on non-Linuxes.

diff --git a/debian/patches/0001-ftbfs.patch b/debian/patches/0001-ftbfs.patch
new file mode 100644
index 0000000..e16334f
--- /dev/null
+++ b/debian/patches/0001-ftbfs.patch
@@ -0,0 +1,19 @@
+Description: Attempt to fix FTBFS on non-Linux.
+ Remove duplicate unistd.h, add missing #include <cstring>
+Author: Alessio Treglia <alessio at debian.org>
+Bug: https://code.google.com/p/amsynth/issues/detail?id=74
+---
+ src/main.cc |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- amsynth.orig/src/main.cc
++++ amsynth/src/main.cc
+@@ -38,7 +38,7 @@
+ #include <getopt.h>
+ #include <unistd.h>
+ #include <string>
+-#include <unistd.h>
++#include <cstring>
+ #include <stdlib.h>
+ #include <sys/time.h>
+ #include <sys/resource.h>
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..d181f7e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-ftbfs.patch

-- 
amsynth packaging



More information about the pkg-multimedia-commits mailing list