tag 667360 patch
thanks

Matthias Klose <d...@debian.org> (03/04/2012):
> Package: rsakeyfind
> Version: 1:1.0-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 rsakeyfind-1.0/debian/changelog rsakeyfind-1.0/debian/changelog
--- rsakeyfind-1.0/debian/changelog	2011-07-23 08:10:16.000000000 +0000
+++ rsakeyfind-1.0/debian/changelog	2012-04-05 08:52:18.000000000 +0000
@@ -1,3 +1,11 @@
+rsakeyfind (1:1.0-2.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> include
+    (Closes: #667360).
+
+ -- Cyril Brulebois <k...@debian.org>  Thu, 05 Apr 2012 08:52:06 +0000
+
 rsakeyfind (1:1.0-2) unstable; urgency=low
 
   * Team upload.
diff -Nru rsakeyfind-1.0/debian/patches/002_gcc_4.7.diff rsakeyfind-1.0/debian/patches/002_gcc_4.7.diff
--- rsakeyfind-1.0/debian/patches/002_gcc_4.7.diff	1970-01-01 00:00:00.000000000 +0000
+++ rsakeyfind-1.0/debian/patches/002_gcc_4.7.diff	2012-04-05 08:51:53.000000000 +0000
@@ -0,0 +1,10 @@
+--- a/rsakeyfind.cpp
++++ b/rsakeyfind.cpp
+@@ -10,6 +10,7 @@
+ #include <sys/mman.h>
+ #include <string.h>
+ #include <iostream>
++#include <unistd.h>
+ 
+ #ifdef __FreeBSD__
+ #include <err.h>
diff -Nru rsakeyfind-1.0/debian/patches/series rsakeyfind-1.0/debian/patches/series
--- rsakeyfind-1.0/debian/patches/series	2011-07-23 08:10:16.000000000 +0000
+++ rsakeyfind-1.0/debian/patches/series	2012-04-05 08:51:34.000000000 +0000
@@ -1 +1,2 @@
 001_include.diff
+002_gcc_4.7.diff

Attachment: signature.asc
Description: Digital signature

Reply via email to