Add mingw specific patch for nightly build for win32.i386.
authorRon Koenderink <rkoenderink@yahoo.ca>
Sun, 16 Dec 2007 15:45:09 +0000 (15:45 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Sun, 16 Dec 2007 15:45:09 +0000 (15:45 +0000)
src/scripts/nightly/patches/win32.i386/mingw.patch [new file with mode: 0644]

diff --git a/src/scripts/nightly/patches/win32.i386/mingw.patch b/src/scripts/nightly/patches/win32.i386/mingw.patch
new file mode 100644 (file)
index 0000000..7e5f8d9
--- /dev/null
@@ -0,0 +1,35 @@
+Index: src/lib/global/path.c.in
+===================================================================
+RCS file: /cvsroot/empserver/empserver/src/lib/global/path.c.in,v
+retrieving revision 1.19
+diff -u -p -r1.19 path.c.in
+--- src/lib/global/path.c.in   3 Aug 2007 04:44:54 -0000       1.19
++++ src/lib/global/path.c.in   16 Dec 2007 15:36:56 -0000
+@@ -38,7 +38,7 @@
+ #include "optlist.h"
+ /* econfig file to try when user doesn't specify one */
+-char dflt_econfig[] = "@econfig@";
++char dflt_econfig[] = "c:/MinGW@econfig@";
+ /*
+  * Where to find configuration (absolute file name)
+@@ -53,15 +53,15 @@ char *custom_tables = "";
+ char *schedulefil;
+ /* Where to find built-in configuration tables (relative to configdir) */
+-char *builtindir = "@builtindir@";
++char *builtindir = "c:/MinGW@builtindir@";
+ /* Where to find info pages (relative to gamedir) */
+ /* TODO UI wart, make it relative to configdir */
+-char *infodir = "@einfodir@";
++char *infodir = "c:/MinGW@einfodir@";
+ /* Where this game's data is stored (relative to configdir) */
+ /* FIXME relative broken in utility programs */
+-char *gamedir = "@gamedir@";
++char *gamedir = "c:/MinGW@gamedir@";
+ /* These are relative to gamedir: */
+ char teldir[] = "tel";