From 204af11c4a6c49032e5c56fdb9bb141facc42eca Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 28 Apr 2008 05:53:39 +0000 Subject: Update to 3.6. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10924 df743ca5-7f9a-e211-a948-0013205c9059 --- x11/libxklavier/files/patch-libxklavier_xklavier_props.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 x11/libxklavier/files/patch-libxklavier_xklavier_props.c (limited to 'x11/libxklavier/files') diff --git a/x11/libxklavier/files/patch-libxklavier_xklavier_props.c b/x11/libxklavier/files/patch-libxklavier_xklavier_props.c new file mode 100644 index 000000000..a56ec7896 --- /dev/null +++ b/x11/libxklavier/files/patch-libxklavier_xklavier_props.c @@ -0,0 +1,15 @@ +--- libxklavier/xklavier_props.c.orig Sun Apr 16 20:51:36 2006 ++++ libxklavier/xklavier_props.c Tue Jun 13 00:11:24 2006 +@@ -355,10 +355,8 @@ xkl_config_rec_get_from_root_window_prop + --varlen); + var[varlen] = '\0'; + /* Resize the original layout */ +- ((char *) +- g_realloc(*layout, +- laylen + 1))[laylen] = +- '\0'; ++ *layout = g_realloc(*layout, laylen + 1); ++ (*layout)[laylen] = '\0'; + } + } + layout++; -- cgit v1.2.3