diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-04-28 13:53:39 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-04-28 13:53:39 +0800 |
commit | 204af11c4a6c49032e5c56fdb9bb141facc42eca (patch) | |
tree | 04bf21244df58d5361a5eb7153d14ac7e3a99e84 /x11/libxklavier/files | |
parent | 8b57d35b38e1d038051f752b834bb231d48e6b8d (diff) | |
download | marcuscom-ports-204af11c4a6c49032e5c56fdb9bb141facc42eca.tar marcuscom-ports-204af11c4a6c49032e5c56fdb9bb141facc42eca.tar.gz marcuscom-ports-204af11c4a6c49032e5c56fdb9bb141facc42eca.tar.bz2 marcuscom-ports-204af11c4a6c49032e5c56fdb9bb141facc42eca.tar.lz marcuscom-ports-204af11c4a6c49032e5c56fdb9bb141facc42eca.tar.xz marcuscom-ports-204af11c4a6c49032e5c56fdb9bb141facc42eca.tar.zst marcuscom-ports-204af11c4a6c49032e5c56fdb9bb141facc42eca.zip |
Update to 3.6.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10924 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/libxklavier/files')
-rw-r--r-- | x11/libxklavier/files/patch-libxklavier_xklavier_props.c | 15 |
1 files changed, 15 insertions, 0 deletions
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++; |