tags 667101 + patch thanks
diff -Nru ardour-2.8.12/debian/changelog ardour-2.8.12/debian/changelog --- ardour-2.8.12/debian/changelog 2011-10-05 17:57:57.000000000 +0000 +++ ardour-2.8.12/debian/changelog 2012-05-03 20:37:06.000000000 +0000 @@ -1,3 +1,10 @@ +ardour (1:2.8.12-1.1) unstable; urgency=low + + * Non maintainer upload. + * Fix build failure with gcc 4.7. Closes: #667101. + + -- Matthias Klose <d...@debian.org> Thu, 03 May 2012 22:36:28 +0200 + ardour (1:2.8.12-1) unstable; urgency=low [ Jaromír Mikeš ] diff -Nru ardour-2.8.12/debian/patches/ftbfs-gcc-4.7.diff ardour-2.8.12/debian/patches/ftbfs-gcc-4.7.diff --- ardour-2.8.12/debian/patches/ftbfs-gcc-4.7.diff 1970-01-01 00:00:00.000000000 +0000 +++ ardour-2.8.12/debian/patches/ftbfs-gcc-4.7.diff 2012-05-03 20:40:09.000000000 +0000 @@ -0,0 +1,24 @@ +Index: ardour-2.8.12/libs/pbd/path.cc +=================================================================== +--- ardour-2.8.12.orig/libs/pbd/path.cc 2009-02-24 12:38:16.000000000 +0000 ++++ ardour-2.8.12/libs/pbd/path.cc 2012-05-03 20:36:04.098422794 +0000 +@@ -17,6 +17,7 @@ + */ + + #include <cerrno> ++#include <unistd.h> + + #include <glib.h> + #include <glib/gstdio.h> +Index: ardour-2.8.12/libs/rubberband/src/main.cpp +=================================================================== +--- ardour-2.8.12.orig/libs/rubberband/src/main.cpp 2009-02-24 12:38:17.000000000 +0000 ++++ ardour-2.8.12/libs/rubberband/src/main.cpp 2012-05-03 20:40:05.806431789 +0000 +@@ -21,6 +21,7 @@ + #include <time.h> + #include <cstdlib> + #include <cstring> ++#include <unistd.h> + #include "sysutils.h" + + #ifdef __MSVC__ diff -Nru ardour-2.8.12/debian/patches/series ardour-2.8.12/debian/patches/series --- ardour-2.8.12/debian/patches/series 2011-10-05 03:12:38.000000000 +0000 +++ ardour-2.8.12/debian/patches/series 2012-05-03 20:35:30.000000000 +0000 @@ -9,3 +9,4 @@ 140_enable-ladish.patch 150_soundtouch.patch 160_kfreebsd.patch +ftbfs-gcc-4.7.diff