freebsd-ports/x11/libxklavier/files/patch-libxklavier_xklavier_config_i18n.c
Joe Marcus Clarke 29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +00:00

11 lines
462 B
C

--- libxklavier/xklavier_config_i18n.c.orig Tue Jun 13 00:12:44 2006
+++ libxklavier/xklavier_config_i18n.c Tue Jun 13 00:13:05 2006
@@ -108,7 +108,7 @@ xkl_locale_from_utf8(const gchar * utf8s
iconv_t converter;
gchar converted[XKL_MAX_CI_DESC_LENGTH];
gchar *converted_start = converted;
- gchar *utf_start = (char *) utf8string;
+ const gchar *utf_start = (const char *) utf8string;
size_t clen = XKL_MAX_CI_DESC_LENGTH - 1;
const gchar *charset;