aboutsummaryrefslogtreecommitdiff
path: root/textproc/goldendict
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2015-04-15 08:20:27 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2015-04-15 08:20:27 +0000
commit074ea5282a00d556c73d86231bec5444990597dc (patch)
treeeec3d608e84e79f0187985e5a1e29cd4f04f13eb /textproc/goldendict
parent522c152d1c7b0c92982e310110fa6d59f915ffeb (diff)
Notes
Diffstat (limited to 'textproc/goldendict')
-rw-r--r--textproc/goldendict/files/patch-bgl_babylon.cc14
-rw-r--r--textproc/goldendict/files/patch-iconv.cc14
2 files changed, 0 insertions, 28 deletions
diff --git a/textproc/goldendict/files/patch-bgl_babylon.cc b/textproc/goldendict/files/patch-bgl_babylon.cc
index fc170af97e0d..7c185934881c 100644
--- a/textproc/goldendict/files/patch-bgl_babylon.cc
+++ b/textproc/goldendict/files/patch-bgl_babylon.cc
@@ -8,17 +8,3 @@
#include<iconv.h>
#include <QTextDocument>
-@@ -648,13 +648,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;
diff --git a/textproc/goldendict/files/patch-iconv.cc b/textproc/goldendict/files/patch-iconv.cc
deleted file mode 100644
index d32904bee641..000000000000
--- a/textproc/goldendict/files/patch-iconv.cc
+++ /dev/null
@@ -1,14 +0,0 @@
---- ./iconv.cc.orig 2010-12-04 00:12:46.000000000 +0300
-+++ ./iconv.cc 2010-12-28 11:46:37.208721626 +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 );
-