diff options
Diffstat (limited to 'textproc/goldendict-devel/files')
-rw-r--r-- | textproc/goldendict-devel/files/patch-bgl_babylon.cc | 16 | ||||
-rw-r--r-- | textproc/goldendict-devel/files/patch-dictzip.c | 10 | ||||
-rw-r--r-- | textproc/goldendict-devel/files/patch-goldendict.pro | 44 | ||||
-rw-r--r-- | textproc/goldendict-devel/files/patch-iconv.cc | 14 |
4 files changed, 0 insertions, 84 deletions
diff --git a/textproc/goldendict-devel/files/patch-bgl_babylon.cc b/textproc/goldendict-devel/files/patch-bgl_babylon.cc deleted file mode 100644 index 0e68a6b935f9..000000000000 --- a/textproc/goldendict-devel/files/patch-bgl_babylon.cc +++ /dev/null @@ -1,16 +0,0 @@ ---- 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; diff --git a/textproc/goldendict-devel/files/patch-dictzip.c b/textproc/goldendict-devel/files/patch-dictzip.c deleted file mode 100644 index ca9c8f762a50..000000000000 --- a/textproc/goldendict-devel/files/patch-dictzip.c +++ /dev/null @@ -1,10 +0,0 @@ ---- dictzip.c.orig 2009-11-09 01:12:06.000000000 +0300 -+++ dictzip.c 2009-11-09 01:12:21.000000000 +0300 -@@ -23,6 +23,7 @@ - */ - - #include <stdlib.h> -+#include <time.h> - #include "dictzip.h" - #include <limits.h> - #include <stdarg.h> diff --git a/textproc/goldendict-devel/files/patch-goldendict.pro b/textproc/goldendict-devel/files/patch-goldendict.pro deleted file mode 100644 index 0a70ac9c6852..000000000000 --- a/textproc/goldendict-devel/files/patch-goldendict.pro +++ /dev/null @@ -1,44 +0,0 @@ ---- goldendict.pro.orig 2009-05-24 23:28:51.000000000 +0400 -+++ goldendict.pro 2009-11-12 18:57:44.000000000 +0300 -@@ -35,24 +35,20 @@ - LIBS += -lXtst - PREFIX = $$(PREFIX) - isEmpty( PREFIX ):PREFIX = /usr/local -- DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/apps/goldendict/\\\" -+ isEmpty( DESKTOPDIR ):DESKTOPDIR = $$PREFIX/share/applications -+ isEmpty( ICONDIR ):ICONDIR = $$PREFIX/share/pixmaps -+ DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/goldendict/\\\" - target.path = $$PREFIX/bin/ -- locale.path = $$PREFIX/share/apps/goldendict/locale/ -+ locale.path = $$PREFIX/share/goldendict - locale.files = locale/*.qm - INSTALLS += target \ - locale -- icons.path = /usr/share/pixmaps -- icons.files = redist/icons/*.* -+ icons.path = $$ICONDIR -+ icons.files = redist/icons/goldendict.png - INSTALLS += icons -- icons2.path = /usr/share/app-install/icons -- icons2.files = redist/icons/*.* -- INSTALLS += icons2 -- desktops.path = /usr/share/applications -- desktops.files = redist/*.desktop -+ desktops.path = $$DESKTOPDIR -+ desktops.files = redist/goldendict.desktop - INSTALLS += desktops -- desktops2.path = /usr/share/app-install/desktop -- desktops2.files = redist/*.desktop -- INSTALLS += desktops2 - } - DEFINES += PROGRAM_VERSION=\\\"$$VERSION\\\" - -@@ -196,7 +192,7 @@ - TRANSLATIONS += locale/ru.ts - - # This makes qmake generate translations --isEmpty(QMAKE_LRELEASE):QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease -+isEmpty(QMAKE_LRELEASE):QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease-qt4 - TS_OUT = $$TRANSLATIONS - TS_OUT ~= s/.ts/.qm - TSQM.name = lrelease \ diff --git a/textproc/goldendict-devel/files/patch-iconv.cc b/textproc/goldendict-devel/files/patch-iconv.cc deleted file mode 100644 index e167ff53bfd2..000000000000 --- a/textproc/goldendict-devel/files/patch-iconv.cc +++ /dev/null @@ -1,14 +0,0 @@ ---- 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 ); - |