aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-01-10 01:55:09 +0800
committerantoine <antoine@FreeBSD.org>2015-01-10 01:55:09 +0800
commit4768aa1bfcd0585622350afa0361c73aebefd555 (patch)
treef33642b56ab3d53642636d0e0cd2a1f0764c2203 /finance
parent650c79b87c40177e94d493df901513a280df09df (diff)
downloadfreebsd-ports-gnome-4768aa1bfcd0585622350afa0361c73aebefd555.tar.gz
freebsd-ports-gnome-4768aa1bfcd0585622350afa0361c73aebefd555.tar.zst
freebsd-ports-gnome-4768aa1bfcd0585622350afa0361c73aebefd555.zip
Allow building with libc++ r224926
PR: ports/196625 Submitted by: dim@
Diffstat (limited to 'finance')
-rw-r--r--finance/openhbci/files/patch-src_openhbci_core_bank.cpp11
-rw-r--r--finance/openhbci/files/patch-src_openhbci_core_bank.h11
2 files changed, 22 insertions, 0 deletions
diff --git a/finance/openhbci/files/patch-src_openhbci_core_bank.cpp b/finance/openhbci/files/patch-src_openhbci_core_bank.cpp
new file mode 100644
index 000000000000..9bab25cf7c4b
--- /dev/null
+++ b/finance/openhbci/files/patch-src_openhbci_core_bank.cpp
@@ -0,0 +1,11 @@
+--- src/openhbci/core/bank.cpp.orig 2003-04-25 01:45:54 UTC
++++ src/openhbci/core/bank.cpp
+@@ -39,7 +39,7 @@ instituteMessage::instituteMessage()
+ instituteMessage::~instituteMessage(){
+ }
+
+-const bool instituteMessage::operator==(const instituteMessage &msg) {
++bool instituteMessage::operator==(const instituteMessage &msg) const {
+ return (_date == msg._date &&
+ 0 == _time.compare(msg._time) &&
+ _subject == msg._subject &&
diff --git a/finance/openhbci/files/patch-src_openhbci_core_bank.h b/finance/openhbci/files/patch-src_openhbci_core_bank.h
new file mode 100644
index 000000000000..c05bc6276bd0
--- /dev/null
+++ b/finance/openhbci/files/patch-src_openhbci_core_bank.h
@@ -0,0 +1,11 @@
+--- src/openhbci/core/bank.h.orig 2003-06-13 21:50:00 UTC
++++ src/openhbci/core/bank.h
+@@ -97,7 +97,7 @@ public:
+ instituteMessage();
+ ~instituteMessage();
+
+- const bool operator==(const instituteMessage &msg);
++ bool operator==(const instituteMessage &msg) const;
+
+ /** Returns the Date of arrival. */
+ const Date &date() const { return _date;};