Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2005 23:42:26 +0100 (CET)
From:      Frerich Raabe <frerich@athame.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75769: [patch] make finance/openhbci compile on FreeBSD 5.x
Message-ID:  <200501032242.j03MgQ7g001179@icarus.lan>
Resent-Message-ID: <200501032250.j03MoNBA093939@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
>Number:         75769
>Category:       ports
>Synopsis:       [patch] make finance/openhbci compile on FreeBSD 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 03 22:50:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Frerich Raabe
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD icarus.lan 5.3-STABLE FreeBSD 5.3-STABLE #3: Thu Dec 30 07:40:26 CET 2004 frerich@icarus.lan:/usr/obj/usr/src/sys/IBMTPR51 i386
>Description:
The patch given in the 'Fix' section below adds a patch to the
finance/openhbci port, making it possible to compile the port on
FreeBDS 5.x systems.
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/finance/openhbci/Makefile finance/openhbci/Makefile
--- /usr/ports/finance/openhbci/Makefile	Sun Sep 19 04:53:44 2004
+++ finance/openhbci/Makefile	Mon Jan  3 23:34:51 2005
@@ -18,10 +18,4 @@
 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 -ruN /usr/ports/finance/openhbci/files/patch-tree.h finance/openhbci/files/patch-tree.h
--- /usr/ports/finance/openhbci/files/patch-tree.h	Thu Jan  1 01:00:00 1970
+++ finance/openhbci/files/patch-tree.h	Mon Jan  3 23:33:26 2005
@@ -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);
+   };
+ 
+   /**
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501032242.j03MgQ7g001179>