summaryrefslogtreecommitdiffstats
path: root/x11/libxklavier/files/patch-libxklavier_xklavier.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libxklavier/files/patch-libxklavier_xklavier.c')
-rw-r--r--x11/libxklavier/files/patch-libxklavier_xklavier.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11/libxklavier/files/patch-libxklavier_xklavier.c b/x11/libxklavier/files/patch-libxklavier_xklavier.c
new file mode 100644
index 000000000..aab6f4207
--- /dev/null
+++ b/x11/libxklavier/files/patch-libxklavier_xklavier.c
@@ -0,0 +1,14 @@
+--- libxklavier/xklavier.c.orig Tue Nov 23 18:32:29 2004
++++ libxklavier/xklavier.c Tue Nov 23 18:32:48 2004
+@@ -700,9 +700,10 @@
+ {
+ if ( xklVTable == NULL )
+ {
++ char *p;
+ XklDebug( 0, "ERROR: XKL VTable is NOT initialized.\n" );
+ /* force the crash! */
+- char *p = NULL; *p = '\0';
++ p = NULL; *p = '\0';
+ }
+ }
+