diff options
| author | Boris Samorodov <bsam@FreeBSD.org> | 2009-11-13 14:07:49 +0000 |
|---|---|---|
| committer | Boris Samorodov <bsam@FreeBSD.org> | 2009-11-13 14:07:49 +0000 |
| commit | 8410624681fe2366ba2f723815ada593e471a24d (patch) | |
| tree | 4f7ffc3d4b189e0fef4af6a8c948ad887fc21803 /textproc/goldendict-devel/files/patch-bgl_babylon.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/
Diffstat (limited to 'textproc/goldendict-devel/files/patch-bgl_babylon.cc')
| -rw-r--r-- | textproc/goldendict-devel/files/patch-bgl_babylon.cc | 16 |
1 files changed, 16 insertions, 0 deletions
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; |
