diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2008-03-31 20:50:54 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2008-03-31 20:50:54 +0000 |
commit | c774fa38a573dec61c4a681a06e76a0628f8a468 (patch) | |
tree | 77702cd3e2180254d792f074339ccc670292800b /net-misc/nx/files | |
parent | mention quotes I added (diff) | |
download | gentoo-2-c774fa38a573dec61c4a681a06e76a0628f8a468.tar.gz gentoo-2-c774fa38a573dec61c4a681a06e76a0628f8a468.tar.bz2 gentoo-2-c774fa38a573dec61c4a681a06e76a0628f8a468.zip |
Fix GCC 4.3 compilation, bug #215489
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-misc/nx/files')
-rw-r--r-- | net-misc/nx/files/nx-3.1.0-gcc-4.3.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-misc/nx/files/nx-3.1.0-gcc-4.3.patch b/net-misc/nx/files/nx-3.1.0-gcc-4.3.patch new file mode 100644 index 000000000000..112c697e104b --- /dev/null +++ b/net-misc/nx/files/nx-3.1.0-gcc-4.3.patch @@ -0,0 +1,24 @@ +--- nxcompshad/Misc.h ++++ nxcompshad/Misc.h +@@ -18,10 +18,10 @@ + #ifndef Misc_H + #define Misc_H + +-#include <iostream.h> ++#include <iostream> + +-#include <errno.h> +-#include <string.h> ++#include <cerrno> ++#include <cstring> + + // + // Error handling macros. +@@ -35,6 +35,6 @@ + // Log file. + // + +-extern ostream *logofs; ++extern std::ostream *logofs; + + #endif /* Misc_H */ |