tag 667130 patch thanks Matthias Klose <d...@debian.org> (03/04/2012): > Package: cbm > Version: 0.1-7 > Severity: important > Tags: sid wheezy > User: debian-...@lists.debian.org > Usertags: ftbfs-gcc-4.7
Here's a patch for this FTBFS. No intent to NMU. Mraw, KiBi.
diff -Nru cbm-0.1/debian/changelog cbm-0.1/debian/changelog --- cbm-0.1/debian/changelog 2012-03-22 17:27:27.000000000 +0000 +++ cbm-0.1/debian/changelog 2012-04-04 23:16:38.000000000 +0000 @@ -1,3 +1,11 @@ +cbm (0.1-8.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> include + (Closes: #667130). + + -- Cyril Brulebois <k...@debian.org> Wed, 04 Apr 2012 23:16:08 +0000 + cbm (0.1-8) unstable; urgency=low * debian/control diff -Nru cbm-0.1/debian/patches/30-fix-ftbfs-with-gcc-4.7.patch cbm-0.1/debian/patches/30-fix-ftbfs-with-gcc-4.7.patch --- cbm-0.1/debian/patches/30-fix-ftbfs-with-gcc-4.7.patch 1970-01-01 00:00:00.000000000 +0000 +++ cbm-0.1/debian/patches/30-fix-ftbfs-with-gcc-4.7.patch 2012-04-04 23:16:04.000000000 +0000 @@ -0,0 +1,10 @@ +--- a/src/cbm.cpp ++++ b/src/cbm.cpp +@@ -18,6 +18,7 @@ + #include <sys/socket.h> + #include <arpa/inet.h> + #include <net/if.h> ++#include <unistd.h> + + // Externs + extern int optind, opterr, optopt; diff -Nru cbm-0.1/debian/patches/series cbm-0.1/debian/patches/series --- cbm-0.1/debian/patches/series 2012-02-11 20:31:31.000000000 +0000 +++ cbm-0.1/debian/patches/series 2012-04-04 23:15:36.000000000 +0000 @@ -1,2 +1,3 @@ 10-statistics.hpp-gcc4.3.patch 20-bug412389.patch +30-fix-ftbfs-with-gcc-4.7.patch
signature.asc
Description: Digital signature