Bug#667140: concordance: ftbfs with GCC-4.7

2012-04-11 Thread Mathieu Trudel-Lapierre
On Wed, Apr 4, 2012 at 8:59 PM, Cyril Brulebois k...@debian.org wrote:
 Here's a patch to fix this FTBFS. No intent to NMU.

Thanks. I expect to get around to fixing this today, along with
updating to Concordance 0.24.


Mathieu Trudel-Lapierre mathieu...@gmail.com
Freenode: cyphermox, Jabber: mathieu...@gmail.com
4096R/EE018C93 1967 8F7D 03A1 8F38 732E  FF82 C126 33E1 EE01 8C93



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#667140: concordance: ftbfs with GCC-4.7

2012-04-04 Thread Cyril Brulebois
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.0 +
+++ concordance-0.23/debian/changelog	2012-04-05 00:58:16.0 +
@@ -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 +
+
 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.0 +
+++ concordance-0.23/debian/patches/04-fix-ftbfs-gcc-4.7.diff	2012-04-05 00:57:38.0 +
@@ -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.0 +
+++ concordance-0.23/debian/patches/series	2012-04-05 00:56:53.0 +
@@ -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