linamh/net-misc/nxcompsh/files/nxcompsh-3.2.0-gcc43.patch
geos_one 677e030bbd add ebuilds
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2464 6952d904-891a-0410-993b-d76249ca496b
2010-10-04 19:24:16 +00:00

44 lines
823 B
Diff

--- nxcompsh/Logger.cpp.orig 2008-07-21 17:53:09 +0400
+++ nxcompsh/Logger.cpp 2008-07-21 17:59:57 +0400
@@ -26,7 +26,9 @@
#include "Logger.h"
#include "Timestamp.h"
-#include <ctype.h>
+#include <cctype>
+
+using namespace std;
Logger logger;
--- nxcompsh/Logger.h.orig 2008-07-21 17:53:29 +0400
+++ nxcompsh/Logger.h 2008-07-21 18:01:53 +0400
@@ -18,7 +18,7 @@
#ifndef Logger_H
#define Logger_H
-#include <errno.h>
+#include <cerrno>
#include <stdarg.h>
//
--- nxcompsh/Misc.h.orig 2008-07-22 14:10:18 +0400
+++ nxcompsh/Misc.h 2008-07-22 14:12:38 +0400
@@ -18,10 +18,13 @@
#ifndef Misc_H
#define Misc_H
-#include <iostream.h>
+#include <iostream>
-#include <errno.h>
-#include <string.h>
+#include <cerrno>
+#include <cstring>
+#include <ios>
+
+using namespace std;
//
// This is MD5 length.