diff options
Diffstat (limited to 'games/xevil/files/patch-cmn::streams.cpp')
-rw-r--r-- | games/xevil/files/patch-cmn::streams.cpp | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/games/xevil/files/patch-cmn::streams.cpp b/games/xevil/files/patch-cmn::streams.cpp index 7d0ff670e436..09bd066253bc 100644 --- a/games/xevil/files/patch-cmn::streams.cpp +++ b/games/xevil/files/patch-cmn::streams.cpp @@ -1,12 +1,35 @@ ---- cmn/streams.cpp.orig Wed Jan 19 12:54:32 2000 -+++ cmn/streams.cpp Sat Oct 25 21:44:08 2003 -@@ -31,7 +31,8 @@ +--- cmn/streams.cpp.orig 2012-05-27 06:52:30.000000000 +0900 ++++ cmn/streams.cpp 2012-05-27 06:53:11.000000000 +0900 +@@ -31,12 +31,13 @@ #include "utils.h" #include "neth.h" // needed for recv, send, recvfrom, sendto -#include <iostream.h> +#include <iostream> -+using namespace std; #include "streams.h" #include "xetp.h" // yuck, need this for XETP::versionStr + + ++using namespace std; + + Checksum GenericStream::compute_checksum(u_char *data,int len) { + Checksum c = 0; +@@ -205,7 +206,7 @@ + + + +-Boolean NetOutStream::write(void *buf,int size) { ++Boolean NetOutStream::write(const void *buf,int size) { + if (!isAlive) { + return False; + } +@@ -518,7 +519,7 @@ + + + +-Boolean UDPOutStream::write(void *buf,int size) { ++Boolean UDPOutStream::write(const void *buf,int size) { + if (!isAlive) { + return False; + } |