diff options
Diffstat (limited to 'games/xtron/files/patch-resource.c')
-rw-r--r-- | games/xtron/files/patch-resource.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/xtron/files/patch-resource.c b/games/xtron/files/patch-resource.c new file mode 100644 index 000000000000..ce4873e8b973 --- /dev/null +++ b/games/xtron/files/patch-resource.c @@ -0,0 +1,13 @@ +--- resource.c.orig Mon Apr 24 07:39:03 1995 ++++ resource.c Fri Mar 31 23:09:37 2000 +@@ -101,8 +101,8 @@ + if ((XTRONresources = XrmGetFileDatabase("./.xtronrc")) == NULL) { + if ((XTRONresources = XrmGetFileDatabase("$HOME/xtronrc")) == NULL) { + if ((XTRONresources = XrmGetFileDatabase("$HOME/.xtronrc")) == NULL) { +- if ((XTRONresources = XrmGetFileDatabase("/usr/X11/lib/X11/app-defaults/xtronrc")) == NULL) { +- if ((XTRONresources = XrmGetFileDatabase("/usr/X11/lib/X11/app-defaults/.xtronrc")) == NULL) { ++ if ((XTRONresources = XrmGetFileDatabase(PREFIX "/lib/X11/app-defaults/Tron")) == NULL) { ++ if ((XTRONresources = XrmGetFileDatabase(PREFIX "/share/xtron/xtronrc")) == NULL) { + fprintf(stderr,"error: unable to open/read resource file xtronrc\n"); + return(0); + } |