diff options
author | Stefan Eßer <se@FreeBSD.org> | 2011-12-20 18:46:05 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2011-12-20 18:46:05 +0000 |
commit | d773eb47abc4f87e0d55c6e692f52d15a30549ce (patch) | |
tree | 3b6cdb3524463b34bff621c59798ea38b98e27a9 /finance/openhbci | |
parent | Fix compilation with clang: main() should return int not void. (diff) |
Fix compilation with clang. This does not fix the port, since there is a
libtool error (missing librdhfile.la) later on.
Notes
Notes:
svn path=/head/; revision=287747
Diffstat (limited to 'finance/openhbci')
-rw-r--r-- | finance/openhbci/files/patch-pointer.h | 11 |
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); + }; + + }; |