From b48aa2febfd565b99592854d7cbeaa9c59ec76e9 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 12 Dec 2000 02:03:46 +0000 Subject: 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. --- wm/olvwm/patches/patch-ab | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 wm/olvwm/patches/patch-ab (limited to 'wm/olvwm/patches/patch-ab') 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 + #include + #include +-#ifdef OW_I18N_L4 + #include +-#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; + } + -- cgit v1.2.3