From 8410624681fe2366ba2f723815ada593e471a24d Mon Sep 17 00:00:00 2001 From: Boris Samorodov Date: Fri, 13 Nov 2009 14:07:49 +0000 Subject: 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/ --- textproc/goldendict-devel/files/patch-bgl_babylon.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 textproc/goldendict-devel/files/patch-bgl_babylon.cc (limited to 'textproc/goldendict-devel/files/patch-bgl_babylon.cc') diff --git a/textproc/goldendict-devel/files/patch-bgl_babylon.cc b/textproc/goldendict-devel/files/patch-bgl_babylon.cc new file mode 100644 index 000000000000..0e68a6b935f9 --- /dev/null +++ b/textproc/goldendict-devel/files/patch-bgl_babylon.cc @@ -0,0 +1,16 @@ +--- bgl_babylon.cc.orig 2009-05-07 14:59:58.000000000 +0400 ++++ bgl_babylon.cc 2009-11-08 23:52:53.000000000 +0300 +@@ -545,13 +545,8 @@ + + inbufbytes = s.size(); + outbufbytes = s.size() * 6; +-#ifdef _WIN32 + const char *inbuf; + inbuf = s.data(); +-#else +- char *inbuf; +- inbuf = (char *)s.data(); +-#endif + outbuf = (char*)malloc( outbufbytes + 1 ); + memset( outbuf, '\0', outbufbytes + 1 ); + defbuf = outbuf; -- cgit v1.2.3