tag 667129 patch
thanks

Matthias Klose <d...@debian.org> (03/04/2012):
> Package: cb2bib
> Version: 1.4.7-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 cb2bib-1.4.7/debian/changelog cb2bib-1.4.7/debian/changelog
--- cb2bib-1.4.7/debian/changelog	2012-01-24 16:27:29.000000000 +0000
+++ cb2bib-1.4.7/debian/changelog	2012-04-04 23:20:52.000000000 +0000
@@ -1,3 +1,11 @@
+cb2bib (1.4.7-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes
+    (Closes: #667129).
+
+ -- Cyril Brulebois <k...@debian.org>  Wed, 04 Apr 2012 23:20:29 +0000
+
 cb2bib (1.4.7-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru cb2bib-1.4.7/debian/patches/fix-ftbfs-with-gcc-4.7 cb2bib-1.4.7/debian/patches/fix-ftbfs-with-gcc-4.7
--- cb2bib-1.4.7/debian/patches/fix-ftbfs-with-gcc-4.7	1970-01-01 00:00:00.000000000 +0000
+++ cb2bib-1.4.7/debian/patches/fix-ftbfs-with-gcc-4.7	2012-04-04 23:21:20.000000000 +0000
@@ -0,0 +1,25 @@
+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/667129
+
+--- cb2bib-1.4.7.orig/src/c2bCoreCiter.cpp
++++ cb2bib-1.4.7/src/c2bCoreCiter.cpp
+@@ -21,6 +21,8 @@
+ // fifo to lyx
+ #include <fcntl.h>
+ 
++#include <unistd.h>
++
+ 
+ c2bCoreCiter::c2bCoreCiter(QWidget* parentw) : QObject(parentw)
+ {
+--- cb2bib-1.4.7.orig/src/qtsingleapplication/src/qtlocalpeer.cpp
++++ cb2bib-1.4.7/src/qtsingleapplication/src/qtlocalpeer.cpp
+@@ -57,6 +57,7 @@ static PProcessIdToSessionId pProcessIdT
+ #endif
+ #if defined(Q_OS_UNIX)
+ #include <time.h>
++#include <unistd.h>
+ #endif
+ 
+ namespace QtLP_Private {
diff -Nru cb2bib-1.4.7/debian/patches/series cb2bib-1.4.7/debian/patches/series
--- cb2bib-1.4.7/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ cb2bib-1.4.7/debian/patches/series	2012-04-04 23:21:05.000000000 +0000
@@ -0,0 +1 @@
+fix-ftbfs-with-gcc-4.7

Attachment: signature.asc
Description: Digital signature

Reply via email to