diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-12-16 06:32:33 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-12-16 06:32:33 +0000 |
commit | a3ff3d4764d4ea3027ec606aa581d50943d28e0f (patch) | |
tree | ecdc58f94fbd73bdaf0875694772bf047faec05f /x11/libxklavier | |
parent | Update to 0.4.7. (diff) |
Fix build with GCC 4.1.
Reported by: pointyhat via kris
Notes
Notes:
svn path=/head/; revision=179902
Diffstat (limited to 'x11/libxklavier')
-rw-r--r-- | x11/libxklavier/files/patch-libxklavier_xklavier_xmm.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/libxklavier/files/patch-libxklavier_xklavier_xmm.c b/x11/libxklavier/files/patch-libxklavier_xklavier_xmm.c new file mode 100644 index 000000000000..200a1bda64f9 --- /dev/null +++ b/x11/libxklavier/files/patch-libxklavier_xklavier_xmm.c @@ -0,0 +1,11 @@ +--- libxklavier/xklavier_xmm.c.orig Sat Dec 16 01:25:29 2006 ++++ libxklavier/xklavier_xmm.c Sat Dec 16 01:29:39 2006 +@@ -107,7 +107,7 @@ xkl_xmm_find_switch_option(XklEngine * e + const XmmSwitchOption *rv = xkl_xmm_shortcut_get_current(engine); + + if (rv != NULL) { +- XmmShortcut *sc = rv->shortcuts; ++ const XmmShortcut *sc = rv->shortcuts; + while (sc->keysym != XK_VoidSymbol) { + if ((XKeysymToKeycode + (xkl_engine_get_display(engine), |