diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 16:09:41 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 16:09:41 +0000 |
commit | a8a726360842517904b3446c8ee94de67108f1df (patch) | |
tree | dbeb7f00cce39b82e2c37a70dc9863c72c2dc41d /x11/xbanner/files/patch-xres.c | |
parent | Update to 3.0.6. (diff) |
Rename x11/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'x11/xbanner/files/patch-xres.c')
-rw-r--r-- | x11/xbanner/files/patch-xres.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/x11/xbanner/files/patch-xres.c b/x11/xbanner/files/patch-xres.c new file mode 100644 index 000000000000..e6ff71c417c0 --- /dev/null +++ b/x11/xbanner/files/patch-xres.c @@ -0,0 +1,33 @@ +*** xres.c.org Tue May 18 20:07:11 1999 +--- xres.c Tue May 18 20:30:50 1999 +*************** +*** 8,13 **** +--- 8,14 ---- + #include <string.h> + #include <stdlib.h> + #include <ctype.h> ++ #include <sys/param.h> + + #include <X11/Xlib.h> + #include <X11/Xutil.h> +*************** +*** 1196,1202 **** + /* get the app-defaults */ + + #ifndef vms +! strcpy(line,"/usr/lib/X11/app-defaults/"); + strcat(line,PRGCLASS); + appdefDB = XrmGetFileDatabase(line); + if(appdefDB==NULL && getenv("XAPPLRESDIR")!=NULL) +--- 1197,1207 ---- + /* get the app-defaults */ + + #ifndef vms +! # if (defined(BSD) && (BSD >= 199306)) +! strcpy(line,"%%LOCALBASE%%/lib/X11/app-defaults/"); +! # else +! strcpy(line,"/usr/lib/X11/app-defaults/"); +! # endif + strcat(line,PRGCLASS); + appdefDB = XrmGetFileDatabase(line); + if(appdefDB==NULL && getenv("XAPPLRESDIR")!=NULL) |