tag 667383 patch thanks Matthias Klose <d...@debian.org> (03/04/2012): > Package: stopmotion > Version: 0.6.2+git.1.10d2ea43-1 > Severity: important > Tags: sid wheezy > User: debian-...@lists.debian.org > Usertags: ftbfs-gcc-4.7
Here's a patch to fix this FTBFS. No intent to NMU here. Mraw, KiBi.
diff -Nru stopmotion-0.6.2+git.1.10d2ea43/debian/changelog stopmotion-0.6.2+git.1.10d2ea43/debian/changelog --- stopmotion-0.6.2+git.1.10d2ea43/debian/changelog 2012-03-06 14:34:57.000000000 +0000 +++ stopmotion-0.6.2+git.1.10d2ea43/debian/changelog 2012-04-04 21:03:26.000000000 +0000 @@ -1,3 +1,11 @@ +stopmotion (0.6.2+git.1.10d2ea43-1.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes + (Closes: #667383). + + -- Cyril Brulebois <k...@debian.org> Wed, 04 Apr 2012 21:03:03 +0000 + stopmotion (0.6.2+git.1.10d2ea43-1) unstable; urgency=low * Merge changes from resurrected upstream on sourceforge + tweaks diff -Nru stopmotion-0.6.2+git.1.10d2ea43/debian/patches/gcc4.7.diff stopmotion-0.6.2+git.1.10d2ea43/debian/patches/gcc4.7.diff --- stopmotion-0.6.2+git.1.10d2ea43/debian/patches/gcc4.7.diff 1970-01-01 00:00:00.000000000 +0000 +++ stopmotion-0.6.2+git.1.10d2ea43/debian/patches/gcc4.7.diff 2012-04-04 21:03:31.000000000 +0000 @@ -0,0 +1,41 @@ +--- a/src/application/externalchangemonitor.cpp ++++ b/src/application/externalchangemonitor.cpp +@@ -27,6 +27,8 @@ + #include <inotifytools/inotifytools.h> + #include <inotifytools/inotify.h> + ++#include <unistd.h> ++ + /** + * @todo uniform most of the getenv("home") calls so that it is done once + * and pasted around. +--- a/src/domain/animation/scene.cpp ++++ b/src/domain/animation/scene.cpp +@@ -20,6 +20,7 @@ + #include "scene.h" + #include <sstream> + #include <cstring> ++#include <unistd.h> + + Scene::Scene() + { +--- a/src/presentation/frontends/qtfrontend/mainwindowgui.cpp ++++ b/src/presentation/frontends/qtfrontend/mainwindowgui.cpp +@@ -45,6 +45,7 @@ + + #include <cstdlib> + #include <iostream> ++#include <unistd.h> + + using namespace std; + using namespace Qt; +--- a/src/technical/projectserializer.cpp ++++ b/src/technical/projectserializer.cpp +@@ -28,6 +28,7 @@ + #include <libgen.h> + #include <stdlib.h> + #include <cstring> ++#include <unistd.h> + + const char ProjectSerializer::imageDirectory[] = "images/"; + const char ProjectSerializer::soundDirectory[] = "sounds/"; diff -Nru stopmotion-0.6.2+git.1.10d2ea43/debian/patches/series stopmotion-0.6.2+git.1.10d2ea43/debian/patches/series --- stopmotion-0.6.2+git.1.10d2ea43/debian/patches/series 2012-03-06 14:38:22.000000000 +0000 +++ stopmotion-0.6.2+git.1.10d2ea43/debian/patches/series 2012-04-04 21:01:17.000000000 +0000 @@ -1 +1,2 @@ debian-changes +gcc4.7.diff
signature.asc
Description: Digital signature