From: | "Bernard Cafarelli (voyageur)" <voyageur@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/nx/files: nx-3.1.0-gcc-4.3.patch |
Date: | Mon, 31 Mar 2008 20:50:57 |
Message-Id: | E1JgQxz-0001XK-57@stork.gentoo.org |
1 | voyageur 08/03/31 20:50:55 |
2 | |
3 | Added: nx-3.1.0-gcc-4.3.patch |
4 | Log: |
5 | Fix GCC 4.3 compilation, bug #215489 |
6 | (Portage version: 2.1.4.4) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-misc/nx/files/nx-3.1.0-gcc-4.3.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/nx/files/nx-3.1.0-gcc-4.3.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/nx/files/nx-3.1.0-gcc-4.3.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: nx-3.1.0-gcc-4.3.patch |
15 | =================================================================== |
16 | --- nxcompshad/Misc.h |
17 | +++ nxcompshad/Misc.h |
18 | @@ -18,10 +18,10 @@ |
19 | #ifndef Misc_H |
20 | #define Misc_H |
21 | |
22 | -#include <iostream.h> |
23 | +#include <iostream> |
24 | |
25 | -#include <errno.h> |
26 | -#include <string.h> |
27 | +#include <cerrno> |
28 | +#include <cstring> |
29 | |
30 | // |
31 | // Error handling macros. |
32 | @@ -35,6 +35,6 @@ |
33 | // Log file. |
34 | // |
35 | |
36 | -extern ostream *logofs; |
37 | +extern std::ostream *logofs; |
38 | |
39 | #endif /* Misc_H */ |
40 | |
41 | |
42 | |
43 | -- |
44 | gentoo-commits@l.g.o mailing list |