chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / moria / source-config.h.patch
1 diff --git a/source/config.h b/source/config.h
2 index bd64c8f..b0b7911 100644
3 --- a/source/config.h
4 +++ b/source/config.h
5 @@ -41,7 +41,7 @@ some of the system defines set up here.
6  
7  /* If compiling on Debian (also works on other versions of Linux), 
8     define this. */
9 -#define DEBIAN_LINUX
10 +//#define DEBIAN_LINUX
11  
12  /* If you are compiling on an ultrix/4.2BSD/Dynix/etc. version of UNIX,
13     define this.  It is not needed for SUNs.  */
14 @@ -221,20 +221,20 @@ some of the system defines set up here.
15  
16  #else
17  
18 -#if 0
19 +#if 1
20  /* Debian standards for file location */
21  /* This must be unix; change file names as appropriate.  */
22  #define MORIA_SAV      ".moria-save"
23 -#define MORIA_HOU      "/etc/moria-hours"
24 -#define MORIA_MOR      "/usr/lib/games/moria/news"
25 -#define MORIA_GPL      "/usr/lib/games/moria/COPYING"
26 -#define MORIA_TOP      "/var/games/moria/scores"
27 -#define MORIA_HELP     "/usr/lib/games/moria/roglcmds.hlp"
28 -#define MORIA_ORIG_HELP        "/usr/lib/games/moria/origcmds.hlp"
29 -#define MORIA_WIZ_HELP "/usr/lib/games/moria/rwizcmds.hlp"
30 -#define MORIA_OWIZ_HELP        "/usr/lib/games/moria/owizcmds.hlp"
31 -#define MORIA_WELCOME  "/usr/lib/games/moria/welcome.hlp"
32 -#define MORIA_VER      "/usr/lib/games/moria/version.hlp"
33 +#define MORIA_HOU      "@TERMUX_PREFIX@/etc/moria-hours"
34 +#define MORIA_MOR      "@TERMUX_PREFIX@/lib/games/moria/news"
35 +#define MORIA_GPL      "@TERMUX_PREFIX@lib/games/moria/COPYING"
36 +#define MORIA_TOP      "@TERMUX_PREFIX@/var/games/moria/scores"
37 +#define MORIA_HELP     "@TERMUX_PREFIX@/lib/games/moria/roglcmds.hlp"
38 +#define MORIA_ORIG_HELP        "@TERMUX_PREFIX@/lib/games/moria/origcmds.hlp"
39 +#define MORIA_WIZ_HELP "@TERMUX_PREFIX@/lib/games/moria/rwizcmds.hlp"
40 +#define MORIA_OWIZ_HELP        "@TERMUX_PREFIX@/lib/games/moria/owizcmds.hlp"
41 +#define MORIA_WELCOME  "@TERMUX_PREFIX@/lib/games/moria/welcome.hlp"
42 +#define MORIA_VER      "@TERMUX_PREFIX@/lib/games/moria/version.hlp"
43  
44  #else
45