summaryrefslogtreecommitdiff
path: root/textproc/goldendict/files/patch-iconv.cc
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2009-11-13 14:07:49 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2009-11-13 14:07:49 +0000
commit8410624681fe2366ba2f723815ada593e471a24d (patch)
tree4f7ffc3d4b189e0fef4af6a8c948ad887fc21803 /textproc/goldendict/files/patch-iconv.cc
parent- Fix DT_SONAME variable in libpt (diff)
The project aims to create a feature-rich dictionary lookup program.
It supports: * Babylon .BGL files, complete with images and resources; * StarDict .ifo/.dict./.idx/.syn dictionaries; * Dictd .index/.dict(.dz) dictionary files; * ABBYY Lingvo .dsl source files, together with abbreviations. The files can be optionally compressed with dictzip. Dictionary resources can be packed together into a .zip file; * ABBYY Lingvo .lsa/.dat audio archives. Those can be indexed separately, or be referred to from .dsl files. LICENSE: GPL3 or later WWW: http://goldendict.berlios.de/
Notes
Notes: svn path=/head/; revision=244210
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 );
+