diff options
Diffstat (limited to 'app-dicts/gbgoffice/files/1.4-05_convert-const.patch')
-rw-r--r-- | app-dicts/gbgoffice/files/1.4-05_convert-const.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-dicts/gbgoffice/files/1.4-05_convert-const.patch b/app-dicts/gbgoffice/files/1.4-05_convert-const.patch new file mode 100644 index 0000000..2b954a3 --- /dev/null +++ b/app-dicts/gbgoffice/files/1.4-05_convert-const.patch @@ -0,0 +1,13 @@ +diff -u -r gbgoffice-1.4.orig/src/translator.cpp gbgoffice-1.4/src/translator.cpp +--- gbgoffice-1.4.orig/src/translator.cpp 2010-03-05 22:38:40.382272000 +0200 ++++ gbgoffice-1.4/src/translator.cpp 2010-03-05 23:01:50.083267013 +0200 +@@ -295,7 +295,8 @@ + + char *Translator::transformResult(const char *result) { + int j, i, m, n, u; +- char *b, *pu; ++ const char *pu; ++ char *b; + char c; + strcpy(dataBuffer2, result); + if ((advancedSearchState) && (advancedSearchHighlight)) { |