diff options
Diffstat (limited to 'sci-biology/treeviewx/files/treeviewx-0.5.1-gcc4.3.patch')
-rw-r--r-- | sci-biology/treeviewx/files/treeviewx-0.5.1-gcc4.3.patch | 77 |
1 files changed, 77 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..33bd3b1741f6 --- /dev/null +++ b/sci-biology/treeviewx/files/treeviewx-0.5.1-gcc4.3.patch @@ -0,0 +1,77 @@ +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-17 06:08:24.000000000 -0400 +@@ -24,6 +24,11 @@ + #include <ctype.h> + #include "Parse.h" + ++ ++ ++ ++#include <cstring> ++ + // Return the next token in the string + tokentype Parser::NextToken () + { +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-17 05:58:17.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-17 06:07:15.000000000 -0400 +@@ -28,6 +28,9 @@ + #include <stdlib.h> + #endif + ++#include <cstring> ++#include <cstdlib> ++ + //------------------------------------------------------------------------------ + TreeReader::TreeReader (Tokeniser &p) : parser (p) + { +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-17 05:58:17.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-17 05:58:17.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-17 05:58:17.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-17 05:58:17.000000000 -0400 +@@ -1,3 +1,6 @@ ++ ++#include <cstring> ++ + #ifdef __BORLANDC__ + // Undefine __MINMAX_DEFINED so that min and max are correctly defined + #ifdef __MINMAX_DEFINED |