From: | "Bernard Cafarelli (voyageur)" <voyageur@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/nxcl/files: nxcl-0.9-gcc43.patch |
Date: | Wed, 10 Sep 2008 09:12:18 |
Message-Id: | E1KdLkF-00040o-Jr@stork.gentoo.org |
1 | voyageur 08/09/10 09:12:15 |
2 | |
3 | Added: nxcl-0.9-gcc43.patch |
4 | Log: |
5 | Fix compilation with gcc-4.3, closes bug #235018 |
6 | (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-misc/nxcl/files/nxcl-0.9-gcc43.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/nxcl/files/nxcl-0.9-gcc43.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/nxcl/files/nxcl-0.9-gcc43.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: nxcl-0.9-gcc43.patch |
15 | =================================================================== |
16 | Index: nxcl/nxcl.cpp |
17 | =================================================================== |
18 | --- nxcl/nxcl.cpp (révision 520) |
19 | +++ nxcl/nxcl.cpp (révision 545) |
20 | @@ -30,6 +30,7 @@ |
21 | #include <dbus/dbus.h> |
22 | #include <X11/Xlib.h> |
23 | } |
24 | +#include <stdlib.h> |
25 | |
26 | using namespace nxcl; |
27 | using namespace std; |
28 | Index: lib/notQt.cpp |
29 | =================================================================== |
30 | --- lib/notQt.cpp (révision 520) |
31 | +++ lib/notQt.cpp (révision 545) |
32 | @@ -29,6 +29,7 @@ |
33 | #include <sys/socket.h> |
34 | #include <signal.h> |
35 | } |
36 | +#include <stdlib.h> |
37 | |
38 | #include "../config.h" |
39 | #include "notQt.h" |
40 | Index: lib/nxclientlib.cpp |
41 | =================================================================== |
42 | --- lib/nxclientlib.cpp (révision 520) |
43 | +++ lib/nxclientlib.cpp (révision 545) |
44 | @@ -43,6 +43,8 @@ |
45 | #include <sys/stat.h> |
46 | #include <unistd.h> |
47 | } |
48 | +#include <stdlib.h> |
49 | +#include <string.h> |
50 | |
51 | /* |
52 | * On the location of nxproxy and nxssh binaries |