summaryrefslogtreecommitdiff
path: root/games-emulation/zsnes/files/zsnes-1.51-gcc47.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/zsnes/files/zsnes-1.51-gcc47.patch')
-rw-r--r--games-emulation/zsnes/files/zsnes-1.51-gcc47.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/games-emulation/zsnes/files/zsnes-1.51-gcc47.patch b/games-emulation/zsnes/files/zsnes-1.51-gcc47.patch
new file mode 100644
index 000000000000..e58102415212
--- /dev/null
+++ b/games-emulation/zsnes/files/zsnes-1.51-gcc47.patch
@@ -0,0 +1,15 @@
+Fix compile with gcc47
+Bug #419635
+https://bugs.gentoo.org/show_bug.cgi?id=419635
+Submitted by Nikos Chantziaras
+
+--- a/src/tools/depbuild.cpp
++++ b/src/tools/depbuild.cpp
+@@ -25,6 +25,7 @@
+ #include <string>
+ #include <cstdio>
+ #include <cstdlib>
++#include <unistd.h>
+ using namespace std;
+
+ #include "fileutil.h"