aboutsummaryrefslogtreecommitdiff
path: root/games/moria/files/patch-source__config.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/moria/files/patch-source__config.h')
-rw-r--r--games/moria/files/patch-source__config.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/games/moria/files/patch-source__config.h b/games/moria/files/patch-source__config.h
new file mode 100644
index 000000000000..5bfd9da5d0a0
--- /dev/null
+++ b/games/moria/files/patch-source__config.h
@@ -0,0 +1,40 @@
+$FreeBSD$
+
+--- source/config.h Thu Jul 21 19:47:13 1994
++++ source/config.h Tue Aug 5 10:04:39 2003
+@@ -14,7 +14,7 @@
+
+ /* Person to bother if something goes wrong. */
+ /* Recompile files.c and misc2.c if this changes. */
+-#define WIZARD "David Grabiner"
++#define WIZARD "root"
+ /* The wizard password and wizard uid are no longer used. */
+
+
+@@ -200,16 +200,16 @@
+
+ /* This must be unix; change MORIA_LIB as appropriate. */
+ #define MORIA_SAV "moria.save"
+-#define MORIA_LIB(xxx) "/home/math/grabiner/moria/files/xxx"
+-#define MORIA_HOU MORIA_LIB(hours)
+-#define MORIA_MOR MORIA_LIB(news)
+-#define MORIA_TOP MORIA_LIB(scores)
+-#define MORIA_HELP MORIA_LIB(roglcmds.hlp)
+-#define MORIA_ORIG_HELP MORIA_LIB(origcmds.hlp)
+-#define MORIA_WIZ_HELP MORIA_LIB(rwizcmds.hlp)
+-#define MORIA_OWIZ_HELP MORIA_LIB(owizcmds.hlp)
+-#define MORIA_WELCOME MORIA_LIB(welcome.hlp)
+-#define MORIA_VER MORIA_LIB(version.hlp)
++#define MORIA_LIB(xxx) "%%DATADIR%%/" xxx
++#define MORIA_HOU MORIA_LIB("hours")
++#define MORIA_MOR MORIA_LIB("news")
++#define MORIA_TOP MORIA_LIB("scores")
++#define MORIA_HELP MORIA_LIB("roglcmds.hlp")
++#define MORIA_ORIG_HELP MORIA_LIB("origcmds.hlp")
++#define MORIA_WIZ_HELP MORIA_LIB("rwizcmds.hlp")
++#define MORIA_OWIZ_HELP MORIA_LIB("owizcmds.hlp")
++#define MORIA_WELCOME MORIA_LIB("welcome.hlp")
++#define MORIA_VER MORIA_LIB("version.hlp")
+
+ #endif
+ #endif