tag 667108 patch
thanks

Matthias Klose <d...@debian.org> (03/04/2012):
> Package: bangarang
> Version: 2.1-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 here.

Mraw,
KiBi.
diff -Nru bangarang-2.1/debian/changelog bangarang-2.1/debian/changelog
--- bangarang-2.1/debian/changelog	2011-12-18 18:35:55.000000000 +0000
+++ bangarang-2.1/debian/changelog	2012-04-04 22:20:54.000000000 +0000
@@ -1,3 +1,11 @@
+bangarang (2.1-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes
+    (Closes: #667108).
+
+ -- Cyril Brulebois <k...@debian.org>  Wed, 04 Apr 2012 22:20:29 +0000
+
 bangarang (2.1-1) unstable; urgency=low
 
   * New upstream release (Closes: #651418)
diff -Nru bangarang-2.1/debian/patches/fix-ftbfs-with-gcc-4.7 bangarang-2.1/debian/patches/fix-ftbfs-with-gcc-4.7
--- bangarang-2.1/debian/patches/fix-ftbfs-with-gcc-4.7	1970-01-01 00:00:00.000000000 +0000
+++ bangarang-2.1/debian/patches/fix-ftbfs-with-gcc-4.7	2012-04-04 22:21:24.000000000 +0000
@@ -0,0 +1,37 @@
+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/667108
+
+--- bangarang-2.1.orig/src/platform/infofetchers/tmdbinfofetcher.cpp
++++ bangarang-2.1/src/platform/infofetchers/tmdbinfofetcher.cpp
+@@ -30,6 +30,8 @@
+ #include <QDomDocument>
+ #include <QFile>
+ 
++#include <unistd.h>
++
+ TMDBInfoFetcher::TMDBInfoFetcher(QObject *parent) :
+         InfoFetcher(parent)
+ {
+--- bangarang-2.1.orig/src/platform/infofetchers/lastfminfofetcher.cpp
++++ bangarang-2.1/src/platform/infofetchers/lastfminfofetcher.cpp
+@@ -32,6 +32,8 @@
+ #include <QFile>
+ #include <QTextEdit>
+ 
++#include <unistd.h>
++
+ LastfmInfoFetcher::LastfmInfoFetcher(QObject *parent) :
+         InfoFetcher(parent)
+ {
+--- bangarang-2.1.orig/src/platform/infofetchers/tvdbinfofetcher.cpp
++++ bangarang-2.1/src/platform/infofetchers/tvdbinfofetcher.cpp
+@@ -30,6 +30,8 @@
+ #include <QDomDocument>
+ #include <QFile>
+ 
++#include <unistd.h>
++
+ TVDBInfoFetcher::TVDBInfoFetcher(QObject *parent) :
+         InfoFetcher(parent)
+ {
diff -Nru bangarang-2.1/debian/patches/series bangarang-2.1/debian/patches/series
--- bangarang-2.1/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ bangarang-2.1/debian/patches/series	2012-04-04 22:21:10.000000000 +0000
@@ -0,0 +1 @@
+fix-ftbfs-with-gcc-4.7

Attachment: signature.asc
Description: Digital signature

Reply via email to