linamh/net-misc/nxcompsh/files/nxcompsh-3.2.0-gcc43.patch

44 lines
823 B
Diff
Raw Normal View History

--- 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.