aboutsummaryrefslogtreecommitdiffstats
path: root/finance/openhbci
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2011-12-21 02:46:05 +0800
committerse <se@FreeBSD.org>2011-12-21 02:46:05 +0800
commite23ba6452358dc87d6e423877199c807e7c615c7 (patch)
tree66a84baeb979cf60b0624cffd6d3969c45866b96 /finance/openhbci
parent0400e2b12ca0fe0993bca5d45bef8dd2df2be06c (diff)
downloadfreebsd-ports-gnome-e23ba6452358dc87d6e423877199c807e7c615c7.tar.gz
freebsd-ports-gnome-e23ba6452358dc87d6e423877199c807e7c615c7.tar.zst
freebsd-ports-gnome-e23ba6452358dc87d6e423877199c807e7c615c7.zip
Fix compilation with clang. This does not fix the port, since there is a
libtool error (missing librdhfile.la) later on.
Diffstat (limited to 'finance/openhbci')
-rw-r--r--finance/openhbci/files/patch-pointer.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/finance/openhbci/files/patch-pointer.h b/finance/openhbci/files/patch-pointer.h
new file mode 100644
index 000000000000..b869049d9ad4
--- /dev/null
+++ b/finance/openhbci/files/patch-pointer.h
@@ -0,0 +1,11 @@
+--- src/openhbci/core/pointer.h~ 2003-07-01 22:04:04.000000000 +0200
++++ src/openhbci/core/pointer.h 2011-12-20 19:35:02.781176123 +0100
+@@ -758,7 +758,7 @@
+ "Bad cast",
+ u.description());
+ /* otherwise create a new pointer */
+- return makePointer(u);
++ return PointerCast::makePointer(u);
+ };
+
+ };