[SCM] dvbcut/master: Fix FTBFS with gcc 4.7
fabricesp-guest at users.alioth.debian.org
fabricesp-guest at users.alioth.debian.org
Fri Apr 6 04:45:05 UTC 2012
The following commit has been merged in the master branch:
commit 101aef84a6202da541c01e84f58be3b0461925bf
Author: Fabrice Coutadeur <coutadeurf at gmail.com>
Date: Thu Apr 5 09:09:57 2012 +0000
Fix FTBFS with gcc 4.7
diff --git a/debian/patches/fix_gcc_4.7.patch b/debian/patches/fix_gcc_4.7.patch
new file mode 100644
index 0000000..287f6d8
--- /dev/null
+++ b/debian/patches/fix_gcc_4.7.patch
@@ -0,0 +1,15 @@
+Description: fix FTBFS with gcc 4.7 by including a missing header. This fixes a
+ 'STDIN_FILENO' and 'STDOUT_FILENO' not declared error.
+Author: Fabrice Coutadeur <coutadeurf at gmail.com>
+Index: dvbcut/src/main.cpp
+===================================================================
+--- dvbcut.orig/src/main.cpp 2012-04-05 07:09:21.352193665 +0000
++++ dvbcut/src/main.cpp 2012-04-05 09:05:47.224446573 +0000
+@@ -25,6 +25,7 @@
+ #include <clocale>
+ #include <string>
+ #include <list>
++#include <unistd.h>
+
+ #ifdef HAVE_LIB_AO
+ #include <ao/ao.h>
diff --git a/debian/patches/series b/debian/patches/series
index 3519ebc..84db5b2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
port-to-qt4.patch
fix-ftbfs-libav0.7.patch
+fix_gcc_4.7.patch
--
dvbcut packaging
More information about the pkg-multimedia-commits
mailing list