aboutsummaryrefslogtreecommitdiff
path: root/finance/openhbci
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-09-01 09:42:10 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-09-01 09:42:10 +0000
commitfd838aac64675217cd7475aed45b76bb0d84c2a9 (patch)
tree18df9bfd6948e2190a4ad1a44219dc3c88651819 /finance/openhbci
parent7774e046ea4ae2266106308d2290e11f2203bd77 (diff)
downloadports-fd838aac64675217cd7475aed45b76bb0d84c2a9.tar.gz
ports-fd838aac64675217cd7475aed45b76bb0d84c2a9.zip
Notes
Diffstat (limited to 'finance/openhbci')
-rw-r--r--finance/openhbci/files/patch-src_openhbci_api.cpp11
-rw-r--r--finance/openhbci/files/patch-src_openhbci_core_value.cpp16
-rw-r--r--finance/openhbci/files/patch-src_plugins_keyfile_keyfile.cpp11
3 files changed, 38 insertions, 0 deletions
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<MediumPluginList
+ goon=false;
+ else {
+ if (-1!=parser::cmpPattern(entry,
+- "*"PLUGIN_EXT,
++ "*" PLUGIN_EXT,
+ false)) {
+ Pointer<MediumPluginFile> 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<char>' 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");
+ }
+