diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2005-01-09 17:24:23 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2005-01-09 17:24:23 +0000 |
commit | 86b8c064a9477daeaf4a06d4aa7e805b004aeee4 (patch) | |
tree | 4910e2e9af038fddb4e4b52a5ab075aa7eb17846 /finance/openhbci | |
parent | Fix build after one of the recent pthread-changes (diff) |
Fix build on 5.x
PR: 75769
Submitted by: Frerich Raabe <frerich@athame.co.uk>
Notes
Notes:
svn path=/head/; revision=125971
Diffstat (limited to 'finance/openhbci')
-rw-r--r-- | finance/openhbci/Makefile | 8 | ||||
-rw-r--r-- | finance/openhbci/files/patch-tree.h | 23 |
2 files changed, 24 insertions, 7 deletions
diff --git a/finance/openhbci/Makefile b/finance/openhbci/Makefile index 3c1309675fd3..a70d26e9a444 100644 --- a/finance/openhbci/Makefile +++ b/finance/openhbci/Makefile @@ -18,10 +18,4 @@ GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} INSTALLS_SHLIB= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/finance/openhbci/files/patch-tree.h b/finance/openhbci/files/patch-tree.h new file mode 100644 index 000000000000..aaba14ce9d77 --- /dev/null +++ b/finance/openhbci/files/patch-tree.h @@ -0,0 +1,23 @@ +--- src/openhbci/tree.h.orig Mon Jan 3 23:31:35 2005 ++++ src/openhbci/tree.h Mon Jan 3 23:28:50 2005 +@@ -695,16 +695,16 @@ + * Returns an iterator that points to the root of the tree. + * @author Martin Preuss<martin@aquamaniac.de> + */ +- Tree<T>::iterator root() { +- return Tree<T>::iterator(&_root); ++ iterator root() { ++ return iterator(&_root); + }; + + /** + * Returns an const_iterator that points to the root of the tree. + * @author Martin Preuss<martin@aquamaniac.de> + */ +- Tree<T>::const_iterator const_root() const { +- return Tree<T>::const_iterator(&_root); ++ const_iterator const_root() const { ++ return const_iterator(&_root); + }; + + /** |