tag 667407 patch
thanks

Matthias Klose <d...@debian.org> (03/04/2012):
> Package: valknut
> Version: 0.4.9-1
> 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 valknut-0.4.9/debian/changelog valknut-0.4.9/debian/changelog
--- valknut-0.4.9/debian/changelog	2010-07-13 16:36:12.000000000 +0000
+++ valknut-0.4.9/debian/changelog	2012-04-05 08:28:42.000000000 +0000
@@ -1,3 +1,11 @@
+valknut (0.4.9-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> include
+    (Closes: #667407).
+
+ -- Cyril Brulebois <k...@debian.org>  Thu, 05 Apr 2012 08:28:24 +0000
+
 valknut (0.4.9-1) unstable; urgency=low
 
   * New maintainer. (Closes: #473205)
diff -Nru valknut-0.4.9/debian/patches/fix-ftbfs-with-gcc-4.7.patch valknut-0.4.9/debian/patches/fix-ftbfs-with-gcc-4.7.patch
--- valknut-0.4.9/debian/patches/fix-ftbfs-with-gcc-4.7.patch	1970-01-01 00:00:00.000000000 +0000
+++ valknut-0.4.9/debian/patches/fix-ftbfs-with-gcc-4.7.patch	2012-04-05 08:27:45.000000000 +0000
@@ -0,0 +1,11 @@
+--- a/valknut/main.cpp
++++ b/valknut/main.cpp
+@@ -54,6 +54,8 @@
+ #include <dclib/clistenmanager.h>
+ #include <dclib/csearchmanager.h>
+ 
++#include <unistd.h>
++
+ #ifndef WIN32
+ /** install signal handler */
+ void term_install_handlers(void)
diff -Nru valknut-0.4.9/debian/patches/series valknut-0.4.9/debian/patches/series
--- valknut-0.4.9/debian/patches/series	2010-07-13 16:35:47.000000000 +0000
+++ valknut-0.4.9/debian/patches/series	2012-04-05 08:26:36.000000000 +0000
@@ -1 +1,2 @@
 manpages.patch
+fix-ftbfs-with-gcc-4.7.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to