tags 667294 + patch thanks
diff -Nru ncmpcpp-0.5.6/debian/changelog ncmpcpp-0.5.6/debian/changelog --- ncmpcpp-0.5.6/debian/changelog 2011-03-08 18:05:44.000000000 +0000 +++ ncmpcpp-0.5.6/debian/changelog 2012-04-17 12:02:57.000000000 +0000 @@ -1,3 +1,10 @@ +ncmpcpp (0.5.6-2.1) unstable; urgency=low + + * Non maintainer upload. + * Fix build failure with GCC 4.7. Closes: #667294. + + -- Matthias Klose <[email protected]> Tue, 17 Apr 2012 14:02:16 +0200 + ncmpcpp (0.5.6-2) unstable; urgency=low * Update debian/control diff -Nru ncmpcpp-0.5.6/debian/patches/fix-ftbfs-gcc4.7.diff ncmpcpp-0.5.6/debian/patches/fix-ftbfs-gcc4.7.diff --- ncmpcpp-0.5.6/debian/patches/fix-ftbfs-gcc4.7.diff 1970-01-01 00:00:00.000000000 +0000 +++ ncmpcpp-0.5.6/debian/patches/fix-ftbfs-gcc4.7.diff 2012-04-17 12:05:00.000000000 +0000 @@ -0,0 +1,24 @@ +Index: ncmpcpp-0.5.6/src/visualizer.cpp +=================================================================== +--- ncmpcpp-0.5.6.orig/src/visualizer.cpp 2012-04-17 12:00:45.000000000 +0000 ++++ ncmpcpp-0.5.6/src/visualizer.cpp 2012-04-17 12:01:19.631417063 +0000 +@@ -30,6 +30,7 @@ + #include <fstream> + #include <limits> + #include <fcntl.h> ++#include <unistd.h> + #include <sys/time.h> + + using Global::MainStartY; +Index: ncmpcpp-0.5.6/src/window.cpp +=================================================================== +--- ncmpcpp-0.5.6.orig/src/window.cpp 2011-01-02 23:24:11.000000000 +0000 ++++ ncmpcpp-0.5.6/src/window.cpp 2012-04-17 12:04:50.023411858 +0000 +@@ -20,6 +20,7 @@ + + #include <cstring> + #include <cstdlib> ++#include <unistd.h> + + #ifdef WIN32 + # include <winsock.h> diff -Nru ncmpcpp-0.5.6/debian/patches/series ncmpcpp-0.5.6/debian/patches/series --- ncmpcpp-0.5.6/debian/patches/series 2011-03-08 18:05:44.000000000 +0000 +++ ncmpcpp-0.5.6/debian/patches/series 2012-04-17 12:00:52.000000000 +0000 @@ -1,2 +1,3 @@ changelog.patch visualizer-remove-warning.patch +fix-ftbfs-gcc4.7.diff

