From: | "Kacper Kowalik (xarthisius)" <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-p2p/valknut/files: valknut-0.4.9-gcc47.patch |
Date: | Sun, 03 Mar 2013 13:48:06 |
Message-Id: | 20130303134803.C0C762171D@flycatcher.gentoo.org |
1 | xarthisius 13/03/03 13:48:03 |
2 | |
3 | Added: valknut-0.4.9-gcc47.patch |
4 | Log: |
5 | Fix building with gcc-4.7 wrt #423045 by Diego Elio Pettenò <flameeyes@g.o> |
6 | |
7 | (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 895192F9) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-p2p/valknut/files/valknut-0.4.9-gcc47.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/valknut/files/valknut-0.4.9-gcc47.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/valknut/files/valknut-0.4.9-gcc47.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: valknut-0.4.9-gcc47.patch |
16 | =================================================================== |
17 | Fix building with gcc-47 |
18 | |
19 | https://bugs.gentoo.org/show_bug.cgi?id=423045 |
20 | |
21 | Patch written by Kacper Kowalik <xarthisius@g.o> |
22 | --- a/valknut/main.cpp |
23 | +++ b/valknut/main.cpp |
24 | @@ -22,6 +22,7 @@ |
25 | #endif |
26 | |
27 | #include <stdlib.h> |
28 | +#include <unistd.h> /* _exit */ |
29 | #ifndef WIN32 |
30 | #include <signal.h> |
31 | #endif |