tag 667398 patch thanks Matthias Klose <[email protected]> (03/04/2012): > Package: traverso > Version: 0.49.2-4 > Severity: important > Tags: sid wheezy > User: [email protected] > Usertags: ftbfs-gcc-4.7
Here's a patch to fix this FTBFS. No intent to NMU here. Mraw, KiBi.
diff -Nru traverso-0.49.2/debian/changelog traverso-0.49.2/debian/changelog --- traverso-0.49.2/debian/changelog 2011-07-30 10:03:49.000000000 +0000 +++ traverso-0.49.2/debian/changelog 2012-04-04 18:47:44.000000000 +0000 @@ -1,3 +1,11 @@ +traverso (0.49.2-4.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes + (Closes: #667398). + + -- Cyril Brulebois <[email protected]> Wed, 04 Apr 2012 18:47:21 +0000 + traverso (0.49.2-4) unstable; urgency=low * Enable MP3 encoding support. diff -Nru traverso-0.49.2/debian/patches/05-gcc47-ftbfs.patch traverso-0.49.2/debian/patches/05-gcc47-ftbfs.patch --- traverso-0.49.2/debian/patches/05-gcc47-ftbfs.patch 1970-01-01 00:00:00.000000000 +0000 +++ traverso-0.49.2/debian/patches/05-gcc47-ftbfs.patch 2012-04-04 18:47:06.000000000 +0000 @@ -0,0 +1,20 @@ +--- a/src/core/FileHelpers.cpp ++++ b/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" + +--- a/src/traverso/Main.cpp ++++ b/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 -Nru traverso-0.49.2/debian/patches/series traverso-0.49.2/debian/patches/series --- traverso-0.49.2/debian/patches/series 2011-05-05 13:56:08.000000000 +0000 +++ traverso-0.49.2/debian/patches/series 2012-04-04 18:46:00.000000000 +0000 @@ -2,3 +2,4 @@ 02-binutils_gold.patch 03-find_slv2.patch 04-find_raptor2.patch +05-gcc47-ftbfs.patch
signature.asc
Description: Digital signature

