[SCM] traverso/master: Avoid FTBFS with GCC 4.7 by fixing missing <unistd.h> includes.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue May 8 00:43:06 UTC 2012


The following commit has been merged in the master branch:
commit 643e34bccf8cbfb6e8a1f5fcb95cc8b55483f920
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon May 7 17:26:00 2012 -0700

    Avoid FTBFS with GCC 4.7 by fixing missing <unistd.h> includes.
    
    Closes: #667398
    Thanks: Matthias Klose for the report, Cyril Brulebois for the patch.

diff --git a/debian/patches/05-gcc47-ftbfs.patch b/debian/patches/05-gcc47-ftbfs.patch
new file mode 100644
index 0000000..f0b47db
--- /dev/null
+++ b/debian/patches/05-gcc47-ftbfs.patch
@@ -0,0 +1,29 @@
+Description: Fix build failure with GCC 4.7.
+Author: Cyril Brulebois <kibi at debian.org>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667398
+Forwarded: no
+---
+ src/core/FileHelpers.cpp |    1 +
+ src/traverso/Main.cpp    |    1 +
+ 2 files changed, 2 insertions(+)
+
+--- traverso.orig/src/core/FileHelpers.cpp
++++ traverso/src/core/FileHelpers.cpp
+@@ -28,6 +28,7 @@ $Id: FileHelpers.cpp,v 1.10 2007/11/05 1
+ #include <Utils.h>
+ #include <QObject>
+ #include <QFile>
++#include <unistd.h>
+ 
+ #include "Debugger.h"
+ 
+--- traverso.orig/src/traverso/Main.cpp
++++ traverso/src/traverso/Main.cpp
+@@ -32,6 +32,7 @@ Foundation, Inc., 51 Franklin St, Fifth
+ #include "Main.h"
+ #include "../config.h"
+ #include <cstdlib>
++#include <unistd.h>
+ 
+ // Always put me below _all_ includes, this is needed
+ // in case we run with memory leak detection enabled!
diff --git a/debian/patches/series b/debian/patches/series
index d492cfb..9249184 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 02-binutils_gold.patch
 03-find_slv2.patch
 04-find_raptor2.patch
+05-gcc47-ftbfs.patch

-- 
traverso packaging



More information about the pkg-multimedia-commits mailing list