summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2013-03-03 13:48:03 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2013-03-03 13:48:03 +0000
commit8b15641304f7188d0725ddeb8bb482088bcebfaa (patch)
tree7c4ad180687d144cd25e12e7fd252f5c7c3ac9e0 /net-p2p/valknut/files
parentAdd s390 lovin. (diff)
downloadgentoo-2-8b15641304f7188d0725ddeb8bb482088bcebfaa.tar.gz
gentoo-2-8b15641304f7188d0725ddeb8bb482088bcebfaa.tar.bz2
gentoo-2-8b15641304f7188d0725ddeb8bb482088bcebfaa.zip
Fix building with gcc-4.7 wrt #423045 by Diego Elio Pettenò <flameeyes@gentoo.org>
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 895192F9)
Diffstat (limited to 'net-p2p/valknut/files')
-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 000000000000..29ecfe63fb79
--- /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