tags 672100 + patch thanks
diff -Nru presage-0.8.7/debian/changelog presage-0.8.7/debian/changelog --- presage-0.8.7/debian/changelog 2011-10-23 16:23:26.000000000 +0000 +++ presage-0.8.7/debian/changelog 2012-05-08 22:45:24.000000000 +0000 @@ -1,3 +1,10 @@ +presage (0.8.7-1.1) unstable; urgency=low + + * Non maintainer upload + * Fix build failure with GCC 4.7. Closes: #672100. + + -- Matthias Klose <d...@debian.org> Tue, 08 May 2012 22:41:56 +0000 + presage (0.8.7-1) unstable; urgency=low * New upstream release. diff -Nru presage-0.8.7/debian/patches/ftbfs-gcc-4.7.diff presage-0.8.7/debian/patches/ftbfs-gcc-4.7.diff --- presage-0.8.7/debian/patches/ftbfs-gcc-4.7.diff 1970-01-01 00:00:00.000000000 +0000 +++ presage-0.8.7/debian/patches/ftbfs-gcc-4.7.diff 2012-05-08 22:52:15.000000000 +0000 @@ -0,0 +1,27 @@ +Index: presage-0.8.7/test/lib/core/profileManagerTest.cpp +=================================================================== +--- presage-0.8.7.orig/test/lib/core/profileManagerTest.cpp 2010-04-13 17:52:47.000000000 +0000 ++++ presage-0.8.7/test/lib/core/profileManagerTest.cpp 2012-05-08 22:44:46.823256668 +0000 +@@ -30,6 +30,7 @@ + #include "core/predictorActivator.h" + #include "core/selector.h" + ++#include <unistd.h> + #include <fstream> + + CPPUNIT_TEST_SUITE_REGISTRATION( ProfileManagerTest ); +Index: presage-0.8.7/test/lib/predictors/smoothedNgramPredictorTest.cpp +=================================================================== +--- presage-0.8.7.orig/test/lib/predictors/smoothedNgramPredictorTest.cpp 2010-04-14 17:20:38.000000000 +0000 ++++ presage-0.8.7/test/lib/predictors/smoothedNgramPredictorTest.cpp 2012-05-08 22:52:12.870836609 +0000 +@@ -23,9 +23,7 @@ + + + // for unlink(), getcwd() +-#ifdef HAVE_UNISTD_H +-# include <unistd.h> +-#endif ++#include <unistd.h> + + #include "smoothedNgramPredictorTest.h" + diff -Nru presage-0.8.7/debian/patches/series presage-0.8.7/debian/patches/series --- presage-0.8.7/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ presage-0.8.7/debian/patches/series 2012-05-08 22:42:53.000000000 +0000 @@ -0,0 +1 @@ +ftbfs-gcc-4.7.diff