summaryrefslogtreecommitdiff
path: root/textproc/goldendict/files/patch-iconv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/goldendict/files/patch-iconv.cc')
-rw-r--r--textproc/goldendict/files/patch-iconv.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/textproc/goldendict/files/patch-iconv.cc b/textproc/goldendict/files/patch-iconv.cc
new file mode 100644
index 000000000000..e167ff53bfd2
--- /dev/null
+++ b/textproc/goldendict/files/patch-iconv.cc
@@ -0,0 +1,14 @@
+--- iconv.cc.orig 2009-04-18 21:20:12.000000000 +0400
++++ iconv.cc 2009-11-09 01:15:24.000000000 +0300
+@@ -44,11 +44,7 @@
+ throw( exIncorrectSeq, exOther )
+ {
+ size_t result = iconv( state,
+- #ifdef __WIN32
+ (char const **)&inBuf,
+- #else
+- (char **)&inBuf,
+- #endif
+ &inBytesLeft,
+ (char **)&outBuf, &outBytesLeft );
+