tag 667126 patch thanks Matthias Klose <d...@debian.org> (03/04/2012): > Package: calf > Version: 0.0.18.6-3 > Severity: important > Tags: sid wheezy > User: debian-...@lists.debian.org > Usertags: ftbfs-gcc-4.7
Here's a patch to fix this FTBFS. No intent to NMU. Mraw, KiBi.
diff -Nru calf-0.0.18.6/debian/changelog calf-0.0.18.6/debian/changelog --- calf-0.0.18.6/debian/changelog 2011-05-20 06:49:13.000000000 +0000 +++ calf-0.0.18.6/debian/changelog 2012-04-04 23:38:43.000000000 +0000 @@ -1,3 +1,11 @@ +calf (0.0.18.6-3.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes + (Closes: #667126). + + -- Cyril Brulebois <k...@debian.org> Wed, 04 Apr 2012 23:38:15 +0000 + calf (0.0.18.6-3) unstable; urgency=low * Team upload. diff -Nru calf-0.0.18.6/debian/patches/fix-ftbfs-with-gcc-4.7 calf-0.0.18.6/debian/patches/fix-ftbfs-with-gcc-4.7 --- calf-0.0.18.6/debian/patches/fix-ftbfs-with-gcc-4.7 1970-01-01 00:00:00.000000000 +0000 +++ calf-0.0.18.6/debian/patches/fix-ftbfs-with-gcc-4.7 2012-04-04 23:39:10.000000000 +0000 @@ -0,0 +1,34 @@ +Description: Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes. +Author: Cyril Brulebois <k...@debian.org> +Bug-Debian: http://bugs.debian.org/667126 + +--- calf-0.0.18.6.orig/src/osctlnet.cpp ++++ calf-0.0.18.6/src/osctlnet.cpp +@@ -26,6 +26,7 @@ + #include <stdlib.h> + #include <sstream> + #include <stdio.h> ++#include <unistd.h> + using namespace osctl; + using namespace std; + +--- calf-0.0.18.6.orig/src/preset.cpp ++++ calf-0.0.18.6/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> +--- calf-0.0.18.6.orig/src/calf/benchmark.h ++++ calf-0.0.18.6/src/calf/benchmark.h +@@ -27,6 +27,7 @@ + #include "primitives.h" + #include <algorithm> + #include <typeinfo> ++#include <unistd.h> + + namespace dsp { + #if 0 diff -Nru calf-0.0.18.6/debian/patches/series calf-0.0.18.6/debian/patches/series --- calf-0.0.18.6/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ calf-0.0.18.6/debian/patches/series 2012-04-04 23:38:59.000000000 +0000 @@ -0,0 +1 @@ +fix-ftbfs-with-gcc-4.7
signature.asc
Description: Digital signature