diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 19:39:50 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 19:39:50 +0000 |
commit | d9616e5a763d1ab83ebac479e3b2222db5c3f87f (patch) | |
tree | a08c8f6002f7c1660aaa80e0f9cf61cd9d71151c /games/xtron/files/patch-resource.c | |
parent | - Update to 1.9, announce message: (diff) |
Rename all 10,000 games/ patch-xy patches to reflect the files they modify.
Notes
Notes:
svn path=/head/; revision=363239
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); + } |