aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2004-10-25 13:14:11 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2004-10-25 13:14:11 +0000
commitc80a16c97c90af46efc30e781554577de9db3581 (patch)
treeae1af3fec984b704b7a9211145a9af852d3a3bd9 /x11
parent892179965b355442cea08fc55c0e2944eba25bed (diff)
downloadports-c80a16c97c90af46efc30e781554577de9db3581.tar.gz
ports-c80a16c97c90af46efc30e781554577de9db3581.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/libxklavier/Makefile1
-rw-r--r--x11/libxklavier/files/patch-libxklavier-xklavier_config_i18n.c18
2 files changed, 19 insertions, 0 deletions
diff --git a/x11/libxklavier/Makefile b/x11/libxklavier/Makefile
index 3f0fa3d20022..f7dd7074c546 100644
--- a/x11/libxklavier/Makefile
+++ b/x11/libxklavier/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libxklavier
PORTVERSION= 1.04
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
diff --git a/x11/libxklavier/files/patch-libxklavier-xklavier_config_i18n.c b/x11/libxklavier/files/patch-libxklavier-xklavier_config_i18n.c
new file mode 100644
index 000000000000..fed33a78f971
--- /dev/null
+++ b/x11/libxklavier/files/patch-libxklavier-xklavier_config_i18n.c
@@ -0,0 +1,18 @@
+--- libxklavier/xklavier_config_i18n.c.orig Mon Oct 25 21:55:29 2004
++++ libxklavier/xklavier_config_i18n.c Mon Oct 25 21:56:51 2004
+@@ -142,13 +142,14 @@
+ XklDebug( 0,
+ "Unable to convert %s from UTF-8 to %s, this string will probably display wrong.",
+ utf8string, charset );
++ iconv_close( converter );
+ return strdup( utf8string );
+ }
+ *convertedStart = '\0';
+
+ iconv_close( converter );
+
+- return converted;
++ return strdup( converted );
+ }
+
+ /*