aboutsummaryrefslogtreecommitdiff
path: root/vietnamese
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-02-01 20:22:14 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-02-01 20:22:14 +0000
commit92d29b7eeb3e9596b3c345b56e2423e176561be9 (patch)
treef23fa76b74a5b02cea7cb9a19435a6fd5209c6e1 /vietnamese
parente019fe53d931b6594d7ea3d49b98cb04ab671026 (diff)
downloadports-92d29b7eeb3e9596b3c345b56e2423e176561be9.tar.gz
ports-92d29b7eeb3e9596b3c345b56e2423e176561be9.zip
Notes
Diffstat (limited to 'vietnamese')
-rw-r--r--vietnamese/x-unikey/files/patch-src_ukengine_mactab.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/vietnamese/x-unikey/files/patch-src_ukengine_mactab.cpp b/vietnamese/x-unikey/files/patch-src_ukengine_mactab.cpp
new file mode 100644
index 000000000000..48c19fd0cfdc
--- /dev/null
+++ b/vietnamese/x-unikey/files/patch-src_ukengine_mactab.cpp
@@ -0,0 +1,11 @@
+--- src/ukengine/mactab.cpp.orig 2006-04-09 11:46:02 UTC
++++ src/ukengine/mactab.cpp
+@@ -287,7 +287,7 @@ int CMacroTable::addItem(const char *ite
+ char key[MAX_MACRO_KEY_LEN];
+
+ // Parse the input item
+- char * pos = strchr(item, ':');
++ const char * pos = strchr(item, ':');
+ if (pos == NULL)
+ return -1;
+ int keyLen = (int)(pos - item);