diff --git a/finance/openhbci/files/patch-src_openhbci_api.cpp b/finance/openhbci/files/patch-src_openhbci_api.cpp new file mode 100644 index 000000000000..2c67f7fe888d --- /dev/null +++ b/finance/openhbci/files/patch-src_openhbci_api.cpp @@ -0,0 +1,11 @@ +--- src/openhbci/api.cpp.orig 2018-09-01 02:43:47 UTC ++++ src/openhbci/api.cpp +@@ -1260,7 +1260,7 @@ void API::_addPluginsFromDirs(Pointer mpf; + diff --git a/finance/openhbci/files/patch-src_openhbci_core_value.cpp b/finance/openhbci/files/patch-src_openhbci_core_value.cpp new file mode 100644 index 000000000000..bac63df180b2 --- /dev/null +++ b/finance/openhbci/files/patch-src_openhbci_core_value.cpp @@ -0,0 +1,16 @@ +value.cpp:145:10: error: no viable conversion from 'std::__1::basic_istream' to 'bool' + bool readsuccess = (ist >> _value); + ^ ~~~~~~~~~~~~~~~ + +--- src/openhbci/core/value.cpp.orig 2018-09-01 02:40:24 UTC ++++ src/openhbci/core/value.cpp +@@ -142,7 +142,8 @@ Value::Value(const string &strvalue) + setlocale(LC_NUMERIC, "C"); + + // Read float (double) value according to C-locale rules. +- bool readsuccess = (ist >> _value); ++ ist >> _value; ++ bool readsuccess = ist.good(); + + // Reset locale to cached string. + setlocale(LC_NUMERIC, oldloc.c_str()); diff --git a/finance/openhbci/files/patch-src_plugins_keyfile_keyfile.cpp b/finance/openhbci/files/patch-src_plugins_keyfile_keyfile.cpp new file mode 100644 index 000000000000..e96e467c7499 --- /dev/null +++ b/finance/openhbci/files/patch-src_plugins_keyfile_keyfile.cpp @@ -0,0 +1,11 @@ +--- src/plugins/keyfile/keyfile.cpp.orig 2018-09-01 02:44:43 UTC ++++ src/plugins/keyfile/keyfile.cpp +@@ -314,7 +314,7 @@ Error _checkVersion(const API *api) { + ERROR_LEVEL_NORMAL, + HBCI_ERROR_CODE_MEDIUM, + ERROR_ADVISE_DONTKNOW, +- "need OpenHBCI v"OPENHBCI_VERSION_FULL_STRING ++ "need OpenHBCI v" OPENHBCI_VERSION_FULL_STRING + " or newer"); + } +