tag 667111 patch
thanks

Matthias Klose <d...@debian.org> (03/04/2012):
> Package: bcov
> Version: 0.2-1
> 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 bcov-0.2/debian/changelog bcov-0.2/debian/changelog
--- bcov-0.2/debian/changelog	2010-02-20 08:35:26.000000000 +0000
+++ bcov-0.2/debian/changelog	2012-04-04 22:57:49.000000000 +0000
@@ -1,3 +1,11 @@
+bcov (0.2-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes
+    (Closes: #667111).
+
+ -- Cyril Brulebois <k...@debian.org>  Wed, 04 Apr 2012 22:57:26 +0000
+
 bcov (0.2-1) unstable; urgency=low
 
   * Initial version (Closes: #570613).
diff -Nru bcov-0.2/debian/patches/fix-ftbfs-with-gcc-4.7 bcov-0.2/debian/patches/fix-ftbfs-with-gcc-4.7
--- bcov-0.2/debian/patches/fix-ftbfs-with-gcc-4.7	1970-01-01 00:00:00.000000000 +0000
+++ bcov-0.2/debian/patches/fix-ftbfs-with-gcc-4.7	2012-04-04 22:58:26.000000000 +0000
@@ -0,0 +1,24 @@
+Description: Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes.
+Author: Cyril Brulebois <k...@debian.org>
+Bug-Debian: http://bugs.debian.org/667111
+
+--- bcov-0.2.orig/src/report.cpp
++++ bcov-0.2/src/report.cpp
+@@ -21,6 +21,7 @@
+ #include <vector>
+ #include <cstdlib>
+ #include <cstring>
++#include <unistd.h>
+ //---------------------------------------------------------------------------
+ using namespace std;
+ //---------------------------------------------------------------------------
+--- bcov-0.2.orig/src/coverage.cpp
++++ bcov-0.2/src/coverage.cpp
+@@ -22,6 +22,7 @@
+ #include <sys/fcntl.h>
+ #include <libelf.h>
+ #include <libdwarf.h>
++#include <unistd.h>
+ //---------------------------------------------------------------------------
+ using namespace std;
+ //---------------------------------------------------------------------------
diff -Nru bcov-0.2/debian/patches/series bcov-0.2/debian/patches/series
--- bcov-0.2/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ bcov-0.2/debian/patches/series	2012-04-04 22:58:10.000000000 +0000
@@ -0,0 +1 @@
+fix-ftbfs-with-gcc-4.7

Attachment: signature.asc
Description: Digital signature

Reply via email to