summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorwiz <wiz>2001-07-23 18:56:19 +0000
committerwiz <wiz>2001-07-23 18:56:19 +0000
commit1b57c32dda2c4479a787be1940771f6cd04eb096 (patch)
tree46e3fdc8984084db50cfa098f9a6be9ca7758c84 /wm
parent4a13fc6299d439781d2ffb1f63aed46071bbbd05 (diff)
downloadpkgsrc-1b57c32dda2c4479a787be1940771f6cd04eb096.tar.gz
Fix windowmaker segfaults reported in pkg/13148 with the patch from there,
by Anthony Mallet.
Diffstat (limited to 'wm')
-rw-r--r--wm/windowmaker/distinfo3
-rw-r--r--wm/windowmaker/patches/patch-ah15
2 files changed, 17 insertions, 1 deletions
diff --git a/wm/windowmaker/distinfo b/wm/windowmaker/distinfo
index 36f61849a9a..859d1746a22 100644
--- a/wm/windowmaker/distinfo
+++ b/wm/windowmaker/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2001/07/15 08:48:19 jlam Exp $
+$NetBSD: distinfo,v 1.10 2001/07/23 18:56:19 wiz Exp $
SHA1 (WindowMaker-0.65.0.tar.bz2) = acc08353dbdbd0af26b0fa653322f60347c5a6fe
Size (WindowMaker-0.65.0.tar.bz2) = 1876239 bytes
@@ -9,3 +9,4 @@ SHA1 (patch-ad) = cc41fd43ae1682bd0fe7129de4eafd8531b548c2
SHA1 (patch-ae) = 3e9e44fb44b83278d4536319962b0df9bc22698c
SHA1 (patch-af) = 517a32cfeb61556ff057be5cef74785e358110c5
SHA1 (patch-ag) = 7e64472f406c9692082b3fc5f05ad8a8d260affd
+SHA1 (patch-ah) = 6725c4762a07f923304dc63df66afe8a6fae0253
diff --git a/wm/windowmaker/patches/patch-ah b/wm/windowmaker/patches/patch-ah
new file mode 100644
index 00000000000..27cbc4a928a
--- /dev/null
+++ b/wm/windowmaker/patches/patch-ah
@@ -0,0 +1,15 @@
+$NetBSD: patch-ah,v 1.1 2001/07/23 18:56:19 wiz Exp $
+
+--- src/properties.c.orig Tue Oct 31 15:57:25 2000
++++ src/properties.c
+@@ -81,8 +81,8 @@
+
+ class_hint = XAllocClassHint();
+ if (XGetClassHint(dpy,window,class_hint) == 0) {
+- *wm_class = NULL;
+- *wm_instance = NULL;
++ *wm_class = strdup("default");
++ *wm_instance = strdup("default");
+ XFree(class_hint);
+ return False;
+ }