summaryrefslogtreecommitdiff
path: root/games/moria/fix-config_h.diff
diff options
context:
space:
mode:
authorDavid Melik <dchmelik@gmail.com>2012-08-10 17:24:05 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-10 18:29:17 -0500
commitcb3928b6eda11c9eea0f2fc9e7e08234e3f5beb1 (patch)
treea64e8a95c80b136345b6ebaed1983444da742a65 /games/moria/fix-config_h.diff
parent028ae838cf6dbc8bcba27fe77014a4efbcda9208 (diff)
downloadslackbuilds-cb3928b6eda11c9eea0f2fc9e7e08234e3f5beb1.tar.gz
games/moria: Added (a roguelike game)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/moria/fix-config_h.diff')
-rw-r--r--games/moria/fix-config_h.diff53
1 files changed, 53 insertions, 0 deletions
diff --git a/games/moria/fix-config_h.diff b/games/moria/fix-config_h.diff
new file mode 100644
index 0000000000..3f827cbef2
--- /dev/null
+++ b/games/moria/fix-config_h.diff
@@ -0,0 +1,53 @@
+diff -Nur moria-5.6.orig/source/config.h moria-5.6/source/config.h
+--- moria-5.6.orig/source/config.h 2008-10-13 18:44:36.000000000 -0500
++++ moria-5.6/source/config.h 2012-08-10 17:20:22.987707262 -0500
+@@ -221,41 +221,23 @@
+
+ #else
+
+-#if 0
+-/* Debian standards for file location */
+ /* This must be unix; change file names as appropriate. */
+ #define MORIA_SAV ".moria-save"
+ #define MORIA_HOU "/etc/moria-hours"
+-#define MORIA_MOR "/usr/lib/games/moria/news"
+-#define MORIA_GPL "/usr/lib/games/moria/COPYING"
++#define MORIA_MOR "/usr/share/games/moria/news"
++#define MORIA_GPL "/usr/share/games/moria/COPYING"
+ #define MORIA_TOP "/var/games/moria/scores"
+-#define MORIA_HELP "/usr/lib/games/moria/roglcmds.hlp"
+-#define MORIA_ORIG_HELP "/usr/lib/games/moria/origcmds.hlp"
+-#define MORIA_WIZ_HELP "/usr/lib/games/moria/rwizcmds.hlp"
+-#define MORIA_OWIZ_HELP "/usr/lib/games/moria/owizcmds.hlp"
+-#define MORIA_WELCOME "/usr/lib/games/moria/welcome.hlp"
+-#define MORIA_VER "/usr/lib/games/moria/version.hlp"
++#define MORIA_HELP "/usr/share/games/moria/roglcmds.hlp"
++#define MORIA_ORIG_HELP "/usr/share/games/moria/origcmds.hlp"
++#define MORIA_WIZ_HELP "/usr/share/games/moria/rwizcmds.hlp"
++#define MORIA_OWIZ_HELP "/usr/share/games/moria/owizcmds.hlp"
++#define MORIA_WELCOME "/usr/share/games/moria/welcome.hlp"
++#define MORIA_VER "/usr/share/games/moria/version.hlp"
+
+-#else
+-
+-/* Generic UNIX */
+-/* This must be unix; change file names as appropriate. */
+-#define MORIA_SAV "moria-save"
+-#define MORIA_HOU "/home/dgrabiner/moria-5.6/files/hours"
+-#define MORIA_MOR "/home/dgrabiner/moria-5.6/files/news"
+-#define MORIA_GPL "/home/dgrabiner/moria-5.6/files/COPYING"
+-#define MORIA_TOP "/home/dgrabiner/moria-5.6/files/scores"
+-#define MORIA_HELP "/home/dgrabiner/moria-5.6/files/roglcmds.hlp"
+-#define MORIA_ORIG_HELP "/home/dgrabiner/moria-5.6/files/origcmds.hlp"
+-#define MORIA_WIZ_HELP "/home/dgrabiner/moria-5.6/files/rwizcmds.hlp"
+-#define MORIA_OWIZ_HELP "/home/dgrabiner/moria-5.6/files/owizcmds.hlp"
+-#define MORIA_WELCOME "/home/dgrabiner/moria-5.6/files/welcome.hlp"
+-#define MORIA_VER "/home/dgrabiner/moria-5.6/files/version.hlp"
+
+ #endif
+ #endif
+ #endif
+-#endif
+ #endif
+ #endif
+ #endif