diff options
author | Carlos Corbacho <carlos@strangeworlds.co.uk> | 2012-09-10 10:25:32 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-10 16:35:35 -0500 |
commit | 7f036bc82204eb5089f3aaf41776caef94b93c3f (patch) | |
tree | 9ecc40d01044b4c35fc2c73669eb5ddbef9e2001 /games/zsnes/0012-Fix-build-with-gcc-4.7.patch | |
parent | 9a00e9a66c012dd41d186480d46761ada6b48a8d (diff) |
games/zsnes: Added a patch for gcc and fixed the desktop categories.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/zsnes/0012-Fix-build-with-gcc-4.7.patch')
-rw-r--r-- | games/zsnes/0012-Fix-build-with-gcc-4.7.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/games/zsnes/0012-Fix-build-with-gcc-4.7.patch b/games/zsnes/0012-Fix-build-with-gcc-4.7.patch new file mode 100644 index 0000000000000..2c29f5be4348f --- /dev/null +++ b/games/zsnes/0012-Fix-build-with-gcc-4.7.patch @@ -0,0 +1,24 @@ +From: Etienne Millon <etienne.millon@gmail.com> +Date: Thu, 12 Apr 2012 18:01:45 +0200 +Subject: Fix build with gcc 4.7 + +Headers in the new C++ library do not implicitly import unistd.h, so it is +necessary to do it in the source. + +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667429 +--- + src/tools/depbuild.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/tools/depbuild.cpp b/src/tools/depbuild.cpp +index 1e4bbc5..ea0854c 100644 +--- a/src/tools/depbuild.cpp ++++ b/src/tools/depbuild.cpp +@@ -25,6 +25,7 @@ This program generates dependencies for all C/C++/Assembly files + #include <string> + #include <cstdio> + #include <cstdlib> ++#include <unistd.h> + using namespace std; + + #include "fileutil.h" |