tag 667140 patch thanks Matthias Klose <d...@debian.org> (03/04/2012): > Package: concordance > Version: 0.23-2 > 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 concordance-0.23/debian/changelog concordance-0.23/debian/changelog --- concordance-0.23/debian/changelog 2011-09-12 22:32:57.000000000 +0000 +++ concordance-0.23/debian/changelog 2012-04-05 00:58:16.000000000 +0000 @@ -1,3 +1,11 @@ +concordance (0.23-2.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes + (Closes: #667140). + + -- Cyril Brulebois <k...@debian.org> Thu, 05 Apr 2012 00:57:58 +0000 + concordance (0.23-2) unstable; urgency=low * debian/patches/h525-flash-size-detection.patch: reinstate patch for the diff -Nru concordance-0.23/debian/patches/04-fix-ftbfs-gcc-4.7.diff concordance-0.23/debian/patches/04-fix-ftbfs-gcc-4.7.diff --- concordance-0.23/debian/patches/04-fix-ftbfs-gcc-4.7.diff 1970-01-01 00:00:00.000000000 +0000 +++ concordance-0.23/debian/patches/04-fix-ftbfs-gcc-4.7.diff 2012-04-05 00:57:38.000000000 +0000 @@ -0,0 +1,20 @@ +--- a/libconcord/usblan.cpp ++++ b/libconcord/usblan.cpp +@@ -25,6 +25,7 @@ + #include "lc_internal.h" + #include <string.h> + #include <errno.h> ++#include <unistd.h> + + #ifdef WIN32 + #include <winsock.h> +--- a/libconcord/web.cpp ++++ b/libconcord/web.cpp +@@ -22,6 +22,7 @@ + */ + + #include <string.h> ++#include <unistd.h> + #include "libconcord.h" + #include "lc_internal.h" + #include "hid.h" diff -Nru concordance-0.23/debian/patches/series concordance-0.23/debian/patches/series --- concordance-0.23/debian/patches/series 2011-09-19 15:49:11.000000000 +0000 +++ concordance-0.23/debian/patches/series 2012-04-05 00:56:53.000000000 +0000 @@ -2,3 +2,4 @@ 02-manpage-hyphen-as-minus-errors.diff 03-attr-syntax-in-udev-rules.diff h525-flash-size-detection.patch +04-fix-ftbfs-gcc-4.7.diff
signature.asc
Description: Digital signature