summaryrefslogtreecommitdiff
path: root/wm/wmx/patches
diff options
context:
space:
mode:
Diffstat (limited to 'wm/wmx/patches')
-rw-r--r--wm/wmx/patches/patch-aa19
-rw-r--r--wm/wmx/patches/patch-ab40
2 files changed, 59 insertions, 0 deletions
diff --git a/wm/wmx/patches/patch-aa b/wm/wmx/patches/patch-aa
new file mode 100644
index 00000000000..33aac4a275f
--- /dev/null
+++ b/wm/wmx/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/12 02:03:49 wiz Exp $
+
+--- Makefile.orig Wed Jan 13 05:28:43 1999
++++ Makefile Sat Jul 22 02:41:55 2000
+@@ -5,12 +5,12 @@
+ # If you're not using background pixmaps, remove -lXpm from the LIBS.
+ # If your X libraries are somewhere other than /usr/X11/lib, give their
+ # location here.
+-LIBS = -L/usr/X11/lib -lXpm -lXext -lX11 -lXmu -lSM -lICE -lm
++LIBS = ${LDFLAGS} -lXpm -lXext -lX11 -lXmu -lSM -lICE -lm
+
+ # If your X includes are not in /usr/include/X11, add their location
+ # as a -I option here (excluding the X11 bit). If you're using I18N
+ # and Xlocale, please add -DX_LOCALE.
+-CFLAGS = -g -O2 -I/usr/include -I/usr/openwin/include
++CFLAGS = -g -O2 -I${X11BASE}/include -I${XPMDIR}/include
+
+ OBJECTS = Border.o Buttons.o Channel.o Client.o Config.o Events.o Main.o Manager.o Menu.o Rotated.o Session.o
+
diff --git a/wm/wmx/patches/patch-ab b/wm/wmx/patches/patch-ab
new file mode 100644
index 00000000000..d2bba637d71
--- /dev/null
+++ b/wm/wmx/patches/patch-ab
@@ -0,0 +1,40 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/12 02:03:49 wiz Exp $
+
+This patch was culled from the wmx mailing list,
+
+http://ml.42.org/wmx/msg00200.html
+
+
+--- Border.C.orig Wed Jan 13 04:28:43 1999
++++ Border.C Fri Sep 1 12:53:46 2000
+@@ -23,8 +23,6 @@
+ unsigned long Border::m_borderPixel;
+ Pixmap Border::m_backgroundPixmap = None;
+
+-static int borderCounter = 0;
+-
+
+ class BorderRectangle // must resemble XRectangle in storage
+ {
+@@ -70,7 +68,6 @@
+ {
+ m_parent = root();
+ if (m_tabFont == 0) initialiseStatics(c->windowManager());
+- ++borderCounter;
+
+ //#if CONFIG_MAD_FEEDBACK != 0
+ m_feedback = 0;
+@@ -94,13 +91,6 @@
+ }
+
+ if (m_label) free(m_label);
+-
+- if (--borderCounter == 0) {
+- XFreeGC(display(), m_drawGC);
+- if (m_backgroundPixmap != None) {
+- XFreePixmap(display(), m_backgroundPixmap);
+- }
+- }
+ }
+
+