diff options
author | Matteo Bernardini | 2019-03-30 08:53:10 +0100 |
---|---|---|
committer | Matteo Bernardini | 2019-03-30 08:53:10 +0100 |
commit | 37f81333f74286adfe76ea53c2b701b0117e0776 (patch) | |
tree | 2a09dae8766cfae8cb4d655a42477e0d6a2a0bf8 /office/kbgoffice/gcc6.patch | |
parent | 158e3ce0a80a1028c48af5d639f5fde39c94af3c (diff) | |
download | slackbuilds-current-20190330.1.tar.gz |
20190330.1 global branch merge.current-20190330.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/kbgoffice/gcc6.patch')
-rw-r--r-- | office/kbgoffice/gcc6.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/office/kbgoffice/gcc6.patch b/office/kbgoffice/gcc6.patch new file mode 100644 index 0000000000..6e2d45e572 --- /dev/null +++ b/office/kbgoffice/gcc6.patch @@ -0,0 +1,17 @@ +diff -Naur kbgoffice-2.1.orig/src/translator_manager.cpp kbgoffice-2.1/src/translator_manager.cpp +--- kbgoffice-2.1.orig/src/translator_manager.cpp 2010-04-30 14:37:42.000000000 +0200 ++++ kbgoffice-2.1/src/translator_manager.cpp 2017-06-01 18:10:20.308920738 +0200 +@@ -141,11 +141,11 @@ + isDataOk = isDataOk && tr->init(tr->BG_EN, string(string(dataDir) + prop->getString("data")).c_str()); + } else { + cerr << "TranslatorManager::getTestDictionaryObject - Wrong description file: " << testDictionaries[index].file << "\n"; +- return false; ++ return NULL; + } + if (!isDataOk) { + cerr << "TranslatorManager::getTestDictionaryObject - Problem initialazing dictionary: " << testDictionaries[index].file << "\n"; +- return false; ++ return NULL; + } + char c[16]; + sprintf(c, "%d", level); |