summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/valknut/files/valknut-0.4.9-gcc47.patch')
-rw-r--r--net-p2p/valknut/files/valknut-0.4.9-gcc47.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-p2p/valknut/files/valknut-0.4.9-gcc47.patch b/net-p2p/valknut/files/valknut-0.4.9-gcc47.patch
new file mode 100644
index 00000000000..29ecfe63fb7
--- /dev/null
+++ b/net-p2p/valknut/files/valknut-0.4.9-gcc47.patch
@@ -0,0 +1,15 @@
+Fix building with gcc-47
+
+https://bugs.gentoo.org/show_bug.cgi?id=423045
+
+Patch written by Kacper Kowalik <xarthisius@gentoo.org>
+--- a/valknut/main.cpp
++++ b/valknut/main.cpp
+@@ -22,6 +22,7 @@
+ #endif
+
+ #include <stdlib.h>
++#include <unistd.h> /* _exit */
+ #ifndef WIN32
+ #include <signal.h>
+ #endif