diff options
Diffstat (limited to 'games/xevil/files/patch-x11::main.cpp')
-rw-r--r-- | games/xevil/files/patch-x11::main.cpp | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/games/xevil/files/patch-x11::main.cpp b/games/xevil/files/patch-x11::main.cpp index 7bbf52f13fc6..d80655e1b7c1 100644 --- a/games/xevil/files/patch-x11::main.cpp +++ b/games/xevil/files/patch-x11::main.cpp @@ -1,12 +1,34 @@ ---- x11/main.cpp.orig Sat Mar 22 20:52:14 2003 -+++ x11/main.cpp Sat Oct 25 21:47:04 2003 -@@ -33,7 +33,8 @@ +--- x11/main.cpp.orig 2012-05-27 06:52:29.000000000 +0900 ++++ x11/main.cpp 2012-05-27 06:52:58.000000000 +0900 +@@ -25,6 +25,7 @@ + #include "utils.h" + + extern "C" { ++#include <stdlib.h> + #include <X11/Xutil.h> + + #ifdef OPENWOUND_XOS_STRLEN_HACK +@@ -33,13 +34,13 @@ #include <X11/Xos.h> } -#include <iostream.h> +#include <iostream> -+using namespace std; #include "utils.h" #include "neth.h" + #include "game.h" + +- ++GameP g_game; + + class TurnStarter: public ITurnStarter { + public: +@@ -68,6 +69,7 @@ + Utils::seed_random(); + + GameP game = new Game(&argc,argv); ++ g_game = game; + + // assert (clock() != -1); + |