tag 667110 patch thanks Matthias Klose <d...@debian.org> (03/04/2012): > Package: basic256 > Version: 0.9.6.66-1.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. Mraw, KiBi.
diff -Nru basic256-0.9.6.66/debian/changelog basic256-0.9.6.66/debian/changelog --- basic256-0.9.6.66/debian/changelog 2012-02-21 19:33:41.000000000 +0000 +++ basic256-0.9.6.66/debian/changelog 2012-04-04 22:32:03.000000000 +0000 @@ -1,3 +1,11 @@ +basic256 (0.9.6.66-1.2) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with gcc 4.7 due to missing <unistd.h> includes + (Closes: #667110). + + -- Cyril Brulebois <k...@debian.org> Wed, 04 Apr 2012 22:31:34 +0000 + basic256 (0.9.6.66-1.1) unstable; urgency=low * Non-maintainer upload. diff -Nru basic256-0.9.6.66/debian/patches/05_ftbfs_gcc4.7.diff basic256-0.9.6.66/debian/patches/05_ftbfs_gcc4.7.diff --- basic256-0.9.6.66/debian/patches/05_ftbfs_gcc4.7.diff 1970-01-01 00:00:00.000000000 +0000 +++ basic256-0.9.6.66/debian/patches/05_ftbfs_gcc4.7.diff 2012-04-04 22:30:43.000000000 +0000 @@ -0,0 +1,20 @@ +--- a/Interpreter.cpp ++++ b/Interpreter.cpp +@@ -47,6 +47,7 @@ + #include <arpa/inet.h> + #include <net/if.h> + #include <ifaddrs.h> ++ #include <unistd.h> + #endif + + #include <QString> +--- a/RunController.cpp ++++ b/RunController.cpp +@@ -46,6 +46,7 @@ using namespace std; + #include <fcntl.h> + #include <sys/ioctl.h> + #include <time.h> ++ #include <unistd.h> + #endif + + #ifdef LINUX diff -Nru basic256-0.9.6.66/debian/patches/series basic256-0.9.6.66/debian/patches/series --- basic256-0.9.6.66/debian/patches/series 2012-02-21 19:31:08.000000000 +0000 +++ basic256-0.9.6.66/debian/patches/series 2012-04-04 22:30:01.000000000 +0000 @@ -2,3 +2,4 @@ 02_basic256_not_BASIC256.diff 03_examples.diff 04_bison.diff +05_ftbfs_gcc4.7.diff
signature.asc
Description: Digital signature