summaryrefslogtreecommitdiff
path: root/net-im/ysm/files/patch-iconv
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2002-11-11 21:31:53 +0000
committerMax Khon <fjoe@FreeBSD.org>2002-11-11 21:31:53 +0000
commit677fc59f97c72d8f10b235412f51eacbc8f2beae (patch)
tree5ac6738d866d1599f8909d293d855e00139abdb4 /net-im/ysm/files/patch-iconv
parentFix user and group ownership of the installed files when they have been (diff)
upgrade to 7.2.8.1
Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=69927
Diffstat (limited to 'net-im/ysm/files/patch-iconv')
-rw-r--r--net-im/ysm/files/patch-iconv24
1 files changed, 0 insertions, 24 deletions
diff --git a/net-im/ysm/files/patch-iconv b/net-im/ysm/files/patch-iconv
deleted file mode 100644
index 68f9deb98200..000000000000
--- a/net-im/ysm/files/patch-iconv
+++ /dev/null
@@ -1,24 +0,0 @@
---- YSM_ToolBox.c.orig Fri Apr 12 11:07:38 2002
-+++ YSM_ToolBox.c Tue May 28 11:19:33 2002
-@@ -45,6 +45,7 @@
- #include "YSM.h"
- /* International Languages Charset Convertion! */
- #include "YSM_Iconv.h"
-+#include <iconv.h>
-
-
- static struct timeval tv;
-@@ -428,9 +429,12 @@
- bytes_in = strlen(buf_from) + 1;
- bytes_out = maxlen - 1;
- conv_d = iconv_open(charset_to, charset_from);
-- bytes_res = iconv(conv_d, &inptr, &bytes_in, &outptr, &bytes_out);
-+ if ( conv_d == (iconv_t)( -1)) { perror("iconv_open:"); return -1; }
-+ else {
-+ bytes_res = iconv(conv_d, (const char **)&inptr, &bytes_in, &outptr, &bytes_out);
- iconv_close(conv_d);
- return 0;
-+ }
- }
-
- #endif