aboutsummaryrefslogtreecommitdiff
path: root/x11/libxklavier/files
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2007-02-27 21:02:53 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2007-02-27 21:02:53 +0000
commit071c659525284ec225f5672ba384345a831a5bae (patch)
treeec3561f730695c28da0b4485b1c723dfc11b6268 /x11/libxklavier/files
parent9f02d13ad4183447b25374037a2f4f9edd77836e (diff)
downloadports-071c659525284ec225f5672ba384345a831a5bae.tar.gz
ports-071c659525284ec225f5672ba384345a831a5bae.zip
Notes
Diffstat (limited to 'x11/libxklavier/files')
-rw-r--r--x11/libxklavier/files/patch-libxklavier_xklavier_config.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/x11/libxklavier/files/patch-libxklavier_xklavier_config.c b/x11/libxklavier/files/patch-libxklavier_xklavier_config.c
index 889c14b89d85..fe26e5ca94ed 100644
--- a/x11/libxklavier/files/patch-libxklavier_xklavier_config.c
+++ b/x11/libxklavier/files/patch-libxklavier_xklavier_config.c
@@ -1,5 +1,14 @@
---- libxklavier/xklavier_config.c 2006-04-15 22:04:38.000000000 -0400
-+++ libxklavier/xklavier_config.c 2006-07-08 10:15:17.000000000 -0400
+--- libxklavier/xklavier_config.c.orig Sat Apr 15 21:04:38 2006
++++ libxklavier/xklavier_config.c Tue Feb 27 14:57:27 2007
+@@ -243,7 +243,7 @@
+ return FALSE;
+
+ nodes = xpath_obj->nodesetval;
+- if (nodes != NULL && nodes->nodeTab != NULL) {
++ if (nodes != NULL && nodes->nodeTab != NULL && nodes->nodeNr > 0) {
+ rv = xkl_read_config_item(*nodes->nodeTab, pitem);
+ if (pnode != NULL) {
+ *pnode = *nodes->nodeTab;
@@ -275,7 +275,11 @@
gchar *
xkl_strings_concat_comma_separated(gchar ** array)