summaryrefslogtreecommitdiff
path: root/comms/scmxx/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'comms/scmxx/patches/patch-aa')
-rw-r--r--comms/scmxx/patches/patch-aa22
1 files changed, 22 insertions, 0 deletions
diff --git a/comms/scmxx/patches/patch-aa b/comms/scmxx/patches/patch-aa
new file mode 100644
index 00000000000..33156c45076
--- /dev/null
+++ b/comms/scmxx/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.5 2003/04/18 16:18:32 wiz Exp $
+
+--- src/s35_pbook.c.orig Sun Mar 9 13:24:24 2003
++++ src/s35_pbook.c
+@@ -222,7 +222,7 @@ void send_pb_s35 (char* file, char* phon
+ if (token[strlen(token)-1]=='"') {
+ token[strlen(token)-1]=0;
+ }
+- wide_str=convert_to_internal(nl_langinfo(CODESET),token,strlen(token));
++ wide_str=convert_to_internal("char",token,strlen(token));
+ token=convert_to_gsm(wide_str);
+ mem_realloc(wide_str,0);
+ if (strlen(token)>text_length+2) {
+@@ -352,7 +352,7 @@ void get_pb_s35 (char* file, char* phone
+ token=(char *)strtok(NULL,"");
+ //character conversion on token 4
+ wide_str=convert_from_gsm(token);
+- token=convert_from_internal(nl_langinfo(CODESET),wide_str,2);
++ token=convert_from_internal("char",wide_str,2);
+ mem_realloc(wide_str,0);
+ //write converted token 4, also write a newline to make the file readable
+ if (strlen(file)) {