pkgsrc/x11/xbanner/patches/patch-ac
jlam 5e267bc07d Fix xpkgwedge problems noted by John Darrow <John.P.Darrow@wheaton.edu> in
pkg/13191.  The changes suggested in the PR were applied, and one more
change to look for the appdefaults file under ${PREFIX} instead of under
${X11BASE}.
2001-09-14 03:19:22 +00:00

13 lines
414 B
Text

$NetBSD: patch-ac,v 1.3 2001/09/14 03:19:23 jlam Exp $
--- xres.c.orig Thu May 15 22:38:25 1997
+++ xres.c Wed Aug 19 00:18:07 1998
@@ -1196,7 +1196,7 @@
/* get the app-defaults */
#ifndef vms
- strcpy(line,"/usr/lib/X11/app-defaults/");
+ strcpy(line,PREFIX "/lib/X11/app-defaults/");
strcat(line,PRGCLASS);
appdefDB = XrmGetFileDatabase(line);
if(appdefDB==NULL && getenv("XAPPLRESDIR")!=NULL)