aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/bbkeys
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-06-23 16:19:35 +0800
committerflz <flz@FreeBSD.org>2005-06-23 16:19:35 +0800
commit7f37322046808df06e188d2d65235ba32bc9cb66 (patch)
tree441e9c2485e1e3391c056bd6169dcd3721cf98a0 /x11-wm/bbkeys
parent17eb8987f355129aa0b9035bd4fbf429d2ade389 (diff)
downloadfreebsd-ports-gnome-7f37322046808df06e188d2d65235ba32bc9cb66.tar.gz
freebsd-ports-gnome-7f37322046808df06e188d2d65235ba32bc9cb66.tar.zst
freebsd-ports-gnome-7f37322046808df06e188d2d65235ba32bc9cb66.zip
- Fix segfault on 6.x.
PR: ports/82563 Submitted by: maintainer Obtained from: bbkeys CVS
Diffstat (limited to 'x11-wm/bbkeys')
-rw-r--r--x11-wm/bbkeys/Makefile2
-rw-r--r--x11-wm/bbkeys/files/patch-src_KeyClient.cpp14
2 files changed, 15 insertions, 1 deletions
diff --git a/x11-wm/bbkeys/Makefile b/x11-wm/bbkeys/Makefile
index ff6bfa5623d2..d3503109f304 100644
--- a/x11-wm/bbkeys/Makefile
+++ b/x11-wm/bbkeys/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bbkeys
PORTVERSION= 0.9.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/x11-wm/bbkeys/files/patch-src_KeyClient.cpp b/x11-wm/bbkeys/files/patch-src_KeyClient.cpp
new file mode 100644
index 000000000000..89200e5f00ca
--- /dev/null
+++ b/x11-wm/bbkeys/files/patch-src_KeyClient.cpp
@@ -0,0 +1,14 @@
+--- src/KeyClient.cpp.orig Thu Jun 9 09:07:14 2005
++++ src/KeyClient.cpp Thu Jun 9 09:10:24 2005
+@@ -102,6 +102,11 @@
+ _netclient = new Netclient(this->display());
+ _active = _clients.end();
+
++ // Initialize uninitialized pointers to NULL
++ _keybindings = NULL;
++ config_check_timer = NULL;
++
++
+ initialize();
+ }
+