summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2005-02-20 02:31:40 +0000
committerOlivier Fisette <ribosome@gentoo.org>2005-02-20 02:31:40 +0000
commit2626269a47c77fb986666d6383c3bbaaf71f00ea (patch)
treee14192e554d9773152b0321e979713b429067f25 /sci-biology
parentAdd patch to fix sgml error and pdf/ps misdetection #73458. (diff)
downloadhistorical-2626269a47c77fb986666d6383c3bbaaf71f00ea.tar.gz
historical-2626269a47c77fb986666d6383c3bbaaf71f00ea.tar.bz2
historical-2626269a47c77fb986666d6383c3bbaaf71f00ea.zip
Added a patch which might fix bug #82455.
Package-Manager: portage-2.0.51.16
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/treeviewx/ChangeLog6
-rw-r--r--sci-biology/treeviewx/Manifest5
-rw-r--r--sci-biology/treeviewx/files/nodeiterator.h.patch31
-rw-r--r--sci-biology/treeviewx/treeviewx-0.4.ebuild10
4 files changed, 48 insertions, 4 deletions
diff --git a/sci-biology/treeviewx/ChangeLog b/sci-biology/treeviewx/ChangeLog
index 6c7fffe15720..834509a3ed11 100644
--- a/sci-biology/treeviewx/ChangeLog
+++ b/sci-biology/treeviewx/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-biology/treeviewx
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/ChangeLog,v 1.3 2005/01/30 18:21:09 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/ChangeLog,v 1.4 2005/02/20 02:31:40 ribosome Exp $
+
+ 19 Feb 2005; Olivier Fisette <ribosome@gentoo.org>
+ +files/nodeiterator.h.patch, treeviewx-0.4.ebuild:
+ Added a patch which might solve bug #82455.
30 Jan 2005; Olivier Fisette <ribosome@gentoo.org> treeviewx-0.4.ebuild:
Ebuild cleanup.
diff --git a/sci-biology/treeviewx/Manifest b/sci-biology/treeviewx/Manifest
index e5eb8687a015..fbdabc992b40 100644
--- a/sci-biology/treeviewx/Manifest
+++ b/sci-biology/treeviewx/Manifest
@@ -1,4 +1,5 @@
-MD5 ce7720dc1955f961555ecf79ffc4b03c treeviewx-0.4.ebuild 1305
-MD5 86a4b3c2e093f1f59564775edb8ff7ec ChangeLog 811
+MD5 b8855715cf4f2c4cf6b2d8597b849f67 treeviewx-0.4.ebuild 1410
+MD5 1ce4c200e39a5fe2c439b8443856de37 ChangeLog 964
MD5 4a02a793e1530b66640221d52ab8a8ab metadata.xml 523
+MD5 e2e09c5eff0990a96cbd5fab84e0685a files/nodeiterator.h.patch 650
MD5 8d3f96dc6ba46b29f75306900104b6fa files/digest-treeviewx-0.4 58
diff --git a/sci-biology/treeviewx/files/nodeiterator.h.patch b/sci-biology/treeviewx/files/nodeiterator.h.patch
new file mode 100644
index 000000000000..4b99c72f7c42
--- /dev/null
+++ b/sci-biology/treeviewx/files/nodeiterator.h.patch
@@ -0,0 +1,31 @@
+--- nodeiterator.h.old 2002-02-24 15:37:17.000000000 -0500
++++ nodeiterator.h 2005-02-19 21:09:31.000000000 -0500
+@@ -20,7 +20,7 @@
+ */
+
+ // $Id: nodeiterator.h.patch,v 1.1 2005/02/20 02:31:40 ribosome Exp $
+-
++
+ /**
+ * @file nodeiterator.h
+ *
+@@ -128,15 +128,15 @@
+
+ template <class N> N *PreorderIterator<N>::begin ()
+ {
+- cur = root;
+- return cur;
++ this->cur = this->root;
++ return this->cur;
+ }
+
+ template <class N> N *PreorderIterator<N>::next ()
+ {
+- if (cur->GetChild())
++ if (this->cur->GetChild())
+ {
+- stk.push (cur);
++ this->stk.push (cur);
+ N *p = (N *)(cur->GetChild());
+ cur = p;
+ }
diff --git a/sci-biology/treeviewx/treeviewx-0.4.ebuild b/sci-biology/treeviewx/treeviewx-0.4.ebuild
index fa113cc6130d..6b6dec32be81 100644
--- a/sci-biology/treeviewx/treeviewx-0.4.ebuild
+++ b/sci-biology/treeviewx/treeviewx-0.4.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/treeviewx-0.4.ebuild,v 1.2 2005/01/30 18:21:09 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/treeviewx-0.4.ebuild,v 1.3 2005/02/20 02:31:40 ribosome Exp $
+
+inherit eutils
DESCRIPTION="A phylogenetic tree viewer"
HOMEPAGE="http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/"
@@ -25,6 +27,12 @@ pkg_setup() {
fi
}
+src_unpack() {
+ unpack ${A}
+ cd ${S}/TreeLib
+ epatch ${FILESDIR}/nodeiterator.h.patch
+}
+
src_compile() {
econf || die
# The configure script may pick the Unicode wxGTK.