tag 667353 patch thanks Matthias Klose <d...@debian.org> (03/04/2012): > Package: recoverjpeg > Version: 2.0-3 > Severity: important > Tags: sid wheezy > User: debian-...@lists.debian.org > Usertags: ftbfs-gcc-4.7
Here's a patch for this FTBFS. No intent to NMU. Mraw, KiBi.
diff -Nru recoverjpeg-2.0/debian/changelog recoverjpeg-2.0/debian/changelog --- recoverjpeg-2.0/debian/changelog 2012-03-06 05:19:32.000000000 +0000 +++ recoverjpeg-2.0/debian/changelog 2012-04-05 09:19:54.000000000 +0000 @@ -1,3 +1,11 @@ +recoverjpeg (2.0-3.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> include + (Closes: #667353). + + -- Cyril Brulebois <k...@debian.org> Thu, 05 Apr 2012 09:19:41 +0000 + recoverjpeg (2.0-3) unstable; urgency=low * Change the patches format for quilt and delete 00list on debian/patches. diff -Nru recoverjpeg-2.0/debian/patches/03_fix_ftbfs_with_gcc_4.7.diff recoverjpeg-2.0/debian/patches/03_fix_ftbfs_with_gcc_4.7.diff --- recoverjpeg-2.0/debian/patches/03_fix_ftbfs_with_gcc_4.7.diff 1970-01-01 00:00:00.000000000 +0000 +++ recoverjpeg-2.0/debian/patches/03_fix_ftbfs_with_gcc_4.7.diff 2012-04-05 09:19:34.000000000 +0000 @@ -0,0 +1,10 @@ +--- a/recovermov.cpp ++++ b/recovermov.cpp +@@ -2,6 +2,7 @@ + #include <iostream> + #include <sstream> + #include <fstream> ++#include <unistd.h> + + #include "utils.h" + diff -Nru recoverjpeg-2.0/debian/patches/series recoverjpeg-2.0/debian/patches/series --- recoverjpeg-2.0/debian/patches/series 2012-03-06 05:11:10.000000000 +0000 +++ recoverjpeg-2.0/debian/patches/series 2012-04-05 09:19:15.000000000 +0000 @@ -1,2 +1,3 @@ 01_manpagefix.patch 02_fix_recovermov.1.patch +03_fix_ftbfs_with_gcc_4.7.diff
signature.asc
Description: Digital signature