summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-06-16 10:46:00 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-06-16 10:46:00 +0000
commitb80e698581402539f93926579bc8f2934c2a5f51 (patch)
tree05f0b8dbba1a1a94dd199d1437ba9124e49182cd /sci-biology/treeviewx/files
parentFix the test building with a slightly different patch, that doesn't expose a ... (diff)
downloadgentoo-2-b80e698581402539f93926579bc8f2934c2a5f51.tar.gz
gentoo-2-b80e698581402539f93926579bc8f2934c2a5f51.tar.bz2
gentoo-2-b80e698581402539f93926579bc8f2934c2a5f51.zip
Added new revision with fix for gcc-4.3 compile issues (bug #227245).
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-biology/treeviewx/files')
-rw-r--r--sci-biology/treeviewx/files/treeviewx-0.5.1-gcc4.3.patch75
1 files changed, 75 insertions, 0 deletions
diff --git a/sci-biology/treeviewx/files/treeviewx-0.5.1-gcc4.3.patch b/sci-biology/treeviewx/files/treeviewx-0.5.1-gcc4.3.patch
new file mode 100644
index 000000000000..7d42d962eaff
--- /dev/null
+++ b/sci-biology/treeviewx/files/treeviewx-0.5.1-gcc4.3.patch
@@ -0,0 +1,75 @@
+diff -Naur tv-0.5.1/TreeLib/Parse.cpp tv-0.5.1.new/TreeLib/Parse.cpp
+--- tv-0.5.1/TreeLib/Parse.cpp 2002-02-23 07:22:32.000000000 -0500
++++ tv-0.5.1.new/TreeLib/Parse.cpp 2008-06-16 06:32:30.000000000 -0400
+@@ -20,7 +20,9 @@
+ */
+
+ // $Id: treeviewx-0.5.1-gcc4.3.patch,v 1.1 2008/06/16 10:46:00 markusle Exp $
+-
++
++
++#include <cstring>
+ #include <ctype.h>
+ #include "Parse.h"
+
+diff -Naur tv-0.5.1/TreeLib/TreeLib.cpp tv-0.5.1.new/TreeLib/TreeLib.cpp
+--- tv-0.5.1/TreeLib/TreeLib.cpp 2004-05-13 08:22:11.000000000 -0400
++++ tv-0.5.1.new/TreeLib/TreeLib.cpp 2008-06-16 06:32:30.000000000 -0400
+@@ -24,6 +24,8 @@
+ #include "TreeLib.h"
+ #include "Parse.h"
+
++
++#include <cstdlib>
+ #include <vector>
+
+
+diff -Naur tv-0.5.1/TreeLib/treereader.cpp tv-0.5.1.new/TreeLib/treereader.cpp
+--- tv-0.5.1/TreeLib/treereader.cpp 2003-09-10 08:58:16.000000000 -0400
++++ tv-0.5.1.new/TreeLib/treereader.cpp 2008-06-16 06:32:30.000000000 -0400
+@@ -21,6 +21,8 @@
+
+ // $Id: treeviewx-0.5.1-gcc4.3.patch,v 1.1 2008/06/16 10:46:00 markusle Exp $
+
++#include <cstring>
++#include <cstdlib>
+ #include "treereader.h"
+
+ #if __MWERKS__
+diff -Naur tv-0.5.1/ncl-2.0/src/charactersblock.cpp tv-0.5.1.new/ncl-2.0/src/charactersblock.cpp
+--- tv-0.5.1/ncl-2.0/src/charactersblock.cpp 2002-12-10 06:35:49.000000000 -0500
++++ tv-0.5.1.new/ncl-2.0/src/charactersblock.cpp 2008-06-16 06:32:30.000000000 -0400
+@@ -1,3 +1,5 @@
++
++#include <cstring>
+ #include "nexusdefs.h"
+ #include "xnexus.h"
+ #include "nexustoken.h"
+diff -Naur tv-0.5.1/ncl-2.0/src/nexus.cpp tv-0.5.1.new/ncl-2.0/src/nexus.cpp
+--- tv-0.5.1/ncl-2.0/src/nexus.cpp 2002-12-10 06:35:50.000000000 -0500
++++ tv-0.5.1.new/ncl-2.0/src/nexus.cpp 2008-06-16 06:32:30.000000000 -0400
+@@ -1,3 +1,5 @@
++
++#include <cstring>
+ #include "nexusdefs.h"
+ #include "xnexus.h"
+ #include "nexustoken.h"
+diff -Naur tv-0.5.1/ncl-2.0/src/nexustoken.cpp tv-0.5.1.new/ncl-2.0/src/nexustoken.cpp
+--- tv-0.5.1/ncl-2.0/src/nexustoken.cpp 2005-04-29 10:28:17.000000000 -0400
++++ tv-0.5.1.new/ncl-2.0/src/nexustoken.cpp 2008-06-16 06:32:30.000000000 -0400
+@@ -1,3 +1,5 @@
++
++#include <cstring>
+ #include "nexusdefs.h"
+ #include "xnexus.h"
+ #include "nexustoken.h"
+diff -Naur tv-0.5.1/ncl-2.0/src/nxsstring.cpp tv-0.5.1.new/ncl-2.0/src/nxsstring.cpp
+--- tv-0.5.1/ncl-2.0/src/nxsstring.cpp 2001-02-02 07:55:40.000000000 -0500
++++ tv-0.5.1.new/ncl-2.0/src/nxsstring.cpp 2008-06-16 06:32:30.000000000 -0400
+@@ -1,3 +1,6 @@
++
++#include <cstring>
++
+ #ifdef __BORLANDC__
+ // Undefine __MINMAX_DEFINED so that min and max are correctly defined
+ #ifdef __MINMAX_DEFINED