summaryrefslogtreecommitdiff
path: root/wm/olvwm/patches/patch-ab
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-12 02:03:46 +0000
committerwiz <wiz@pkgsrc.org>2000-12-12 02:03:46 +0000
commitb48aa2febfd565b99592854d7cbeaa9c59ec76e9 (patch)
tree0386b8c653f44899ccf3b63ba89ad7c5638f4887 /wm/olvwm/patches/patch-ab
parenta32b3a56553677e14a448f1a16a11a4a984b3574 (diff)
downloadpkgsrc-b48aa2febfd565b99592854d7cbeaa9c59ec76e9.tar.gz
Add new category wm for window managers, and move lots of package from
x11 here. Only changes are: `wm' in category added and some paths fixed.
Diffstat (limited to 'wm/olvwm/patches/patch-ab')
-rw-r--r--wm/olvwm/patches/patch-ab33
1 files changed, 33 insertions, 0 deletions
diff --git a/wm/olvwm/patches/patch-ab b/wm/olvwm/patches/patch-ab
new file mode 100644
index 00000000000..04e516c3d1e
--- /dev/null
+++ b/wm/olvwm/patches/patch-ab
@@ -0,0 +1,33 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/12 02:03:48 wiz Exp $
+
+--- defaults.c.orig Thu Mar 2 22:44:29 2000
++++ defaults.c Tue Jun 6 19:33:36 2000
+@@ -30,9 +30,7 @@
+ #include <X11/Xutil.h>
+ #include <X11/Xatom.h>
+ #include <X11/Xresource.h>
+-#ifdef OW_I18N_L4
+ #include <sys/param.h>
+-#endif
+
+ #include "i18n.h"
+ #include "ollocale.h"
+@@ -89,6 +87,9 @@
+ (void) strcat(filename, "/.Xdefaults-");
+ #ifdef SVR4
+ if (sysinfo(SI_HOSTNAME, hostname, sizeof(hostname)) != -1) {
++#endif
++#ifdef BSD
++ if (0 == gethostname(hostname, sizeof(hostname))) {
+ #else
+ if (0 == gethostname(hostname, sizeof(hostname), &namelen)) {
+ #endif
+@@ -159,7 +160,7 @@
+ return appDB;
+ }
+
+- appDB = XrmGetFileDatabase("/usr/lib/X11/app-defaults/Olwm");
++ appDB = XrmGetFileDatabase(PREFIX "/lib/X11/app-defaults/Olwm");
+ return appDB;
+ }
+