openbabel/openbabel-gcc43.patch

130 lines
6.3 KiB
Diff
Raw Normal View History

diff -up openbabel-2.2.0b3-20080215-r2249/src/zipstreamimpl.h.gcc43 openbabel-2.2.0b3-20080215-r2249/src/zipstreamimpl.h
--- openbabel-2.2.0b3-20080215-r2249/src/zipstreamimpl.h.gcc43 2007-11-30 00:01:23.000000000 +0100
+++ openbabel-2.2.0b3-20080215-r2249/src/zipstreamimpl.h 2008-02-23 20:55:49.000000000 +0100
2008-01-06 18:29:11 +00:00
@@ -31,6 +31,8 @@ Altered by: Geoffrey Hutchison 2005 for
minor namespace modifications, VC++ compatibility
*/
2008-01-06 21:04:29 +00:00
+#include <string.h>
2008-01-06 18:29:11 +00:00
+
//*****************************************************************************
// template class basic_zip_streambuf
//*****************************************************************************
diff -up openbabel-2.2.0b3-20080215-r2249/src/residue.cpp.gcc43 openbabel-2.2.0b3-20080215-r2249/src/residue.cpp
--- openbabel-2.2.0b3-20080215-r2249/src/residue.cpp.gcc43 2007-12-12 20:16:13.000000000 +0100
+++ openbabel-2.2.0b3-20080215-r2249/src/residue.cpp 2008-02-23 20:55:49.000000000 +0100
2008-01-06 19:20:25 +00:00
@@ -26,6 +26,8 @@ obtained in part or whole from RasMol2 b
// File Includes
///////////////////////////////////////////////////////////////////////////////
2008-01-06 20:39:48 +00:00
+#include <cstring>
2008-01-06 19:20:25 +00:00
+
#include <openbabel/babelconfig.h>
#include <openbabel/residue.h>
diff -up openbabel-2.2.0b3-20080215-r2249/src/tokenst.cpp.gcc43 openbabel-2.2.0b3-20080215-r2249/src/tokenst.cpp
diff -up openbabel-2.2.0b3-20080215-r2249/src/obconversion.cpp.gcc43 openbabel-2.2.0b3-20080215-r2249/src/obconversion.cpp
--- openbabel-2.2.0b3-20080215-r2249/src/obconversion.cpp.gcc43 2008-01-21 22:48:26.000000000 +0100
+++ openbabel-2.2.0b3-20080215-r2249/src/obconversion.cpp 2008-02-23 20:55:49.000000000 +0100
@@ -36,6 +36,7 @@ GNU General Public License for more deta
2008-01-06 18:56:39 +00:00
#include <sstream>
#include <string>
#include <map>
+#include <typeinfo>
#include <openbabel/obconversion.h>
diff -up openbabel-2.2.0b3-20080215-r2249/src/formats/rxnformat.cpp.gcc43 openbabel-2.2.0b3-20080215-r2249/src/formats/rxnformat.cpp
--- openbabel-2.2.0b3-20080215-r2249/src/formats/rxnformat.cpp.gcc43 2007-12-18 20:12:51.000000000 +0100
+++ openbabel-2.2.0b3-20080215-r2249/src/formats/rxnformat.cpp 2008-02-23 20:58:22.000000000 +0100
@@ -16,6 +16,7 @@ GNU General Public License for more deta
#include "openbabel/babelconfig.h"
#include <string>
#include <iomanip>
2008-01-06 20:29:52 +00:00
+#include <typeinfo>
#include "openbabel/mol.h"
#include "openbabel/obconversion.h"
#include "openbabel/reaction.h"
diff -up openbabel-2.2.0b3-20080215-r2249/src/formats/fchkformat.cpp.gcc43 openbabel-2.2.0b3-20080215-r2249/src/formats/fchkformat.cpp
--- openbabel-2.2.0b3-20080215-r2249/src/formats/fchkformat.cpp.gcc43 2007-11-30 00:01:23.000000000 +0100
+++ openbabel-2.2.0b3-20080215-r2249/src/formats/fchkformat.cpp 2008-02-23 20:55:49.000000000 +0100
2008-01-06 20:29:52 +00:00
@@ -12,6 +12,7 @@ GNU General Public License for more deta
***********************************************************************/
#include <numeric>
+#include <typeinfo>
// No diagnoalization yet. Perhaps for 2.2 -GRH
// #include <eigen/matrix.h>
diff -up openbabel-2.2.0b3-20080215-r2249/src/fingerprint.cpp.gcc43 openbabel-2.2.0b3-20080215-r2249/src/fingerprint.cpp
--- openbabel-2.2.0b3-20080215-r2249/src/fingerprint.cpp.gcc43 2007-11-30 00:01:23.000000000 +0100
+++ openbabel-2.2.0b3-20080215-r2249/src/fingerprint.cpp 2008-02-23 20:55:49.000000000 +0100
2008-01-06 18:18:21 +00:00
@@ -21,7 +21,7 @@ GNU General Public License for more deta
#include <vector>
#include <algorithm>
#include <iosfwd>
-#include <vector>
+#include <cstring>
#include <fstream>
#include <openbabel/fingerprint.h>
diff -up openbabel-2.2.0b3-20080215-r2249/include/openbabel/xml.h.gcc43 openbabel-2.2.0b3-20080215-r2249/include/openbabel/xml.h
--- openbabel-2.2.0b3-20080215-r2249/include/openbabel/xml.h.gcc43 2007-12-12 20:16:13.000000000 +0100
+++ openbabel-2.2.0b3-20080215-r2249/include/openbabel/xml.h 2008-02-23 20:55:49.000000000 +0100
2008-01-06 20:16:39 +00:00
@@ -13,6 +13,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICU
GNU General Public License for more details.
***********************************************************************/
+#include <typeinfo>
+
#include <openbabel/mol.h>
#include <openbabel/obconversion.h>
#include <openbabel/obmolecformat.h>
diff -up openbabel-2.2.0b3-20080215-r2249/include/openbabel/obconversion.h.gcc43 openbabel-2.2.0b3-20080215-r2249/include/openbabel/obconversion.h
--- openbabel-2.2.0b3-20080215-r2249/include/openbabel/obconversion.h.gcc43 2008-01-16 19:42:43.000000000 +0100
+++ openbabel-2.2.0b3-20080215-r2249/include/openbabel/obconversion.h 2008-02-23 20:55:49.000000000 +0100
2008-01-06 18:29:11 +00:00
@@ -28,6 +28,7 @@ GNU General Public License for more deta
#include <string>
#include <vector>
#include <map>
+#include <strings.h>
#include <openbabel/dlhandler.h>
#include <openbabel/oberror.h>
diff -up openbabel-2.2.0b3-20080215-r2249/include/openbabel/data.h.gcc43 openbabel-2.2.0b3-20080215-r2249/include/openbabel/data.h
--- openbabel-2.2.0b3-20080215-r2249/include/openbabel/data.h.gcc43 2008-01-21 22:03:43.000000000 +0100
+++ openbabel-2.2.0b3-20080215-r2249/include/openbabel/data.h 2008-02-23 20:55:49.000000000 +0100
2008-01-06 18:05:17 +00:00
@@ -23,7 +23,7 @@ GNU General Public License for more deta
#include <openbabel/babelconfig.h>
#include <stdio.h>
-
2008-01-06 20:39:48 +00:00
+#include <cstring>
2008-01-06 18:05:17 +00:00
#include <fstream>
#include <vector>
#include <string>
diff -up openbabel-2.2.0b3-20080215-r2249/include/openbabel/obmolecformat.h.gcc43 openbabel-2.2.0b3-20080215-r2249/include/openbabel/obmolecformat.h
--- openbabel-2.2.0b3-20080215-r2249/include/openbabel/obmolecformat.h.gcc43 2007-12-12 20:16:13.000000000 +0100
+++ openbabel-2.2.0b3-20080215-r2249/include/openbabel/obmolecformat.h 2008-02-23 20:55:49.000000000 +0100
2008-01-06 20:16:39 +00:00
@@ -23,6 +23,8 @@ GNU General Public License for more deta
#include <hash_map>
#endif
+#include <typeinfo>
+
#include <openbabel/mol.h>
#include <openbabel/obconversion.h>
#include <typeinfo>
diff -up openbabel-2.2.0b3-20080215-r2249/include/openbabel/lineend.h.gcc43 openbabel-2.2.0b3-20080215-r2249/include/openbabel/lineend.h
diff -up openbabel-2.2.0b3-20080215-r2249/tools/babel.cpp.gcc43 openbabel-2.2.0b3-20080215-r2249/tools/babel.cpp
--- openbabel-2.2.0b3-20080215-r2249/tools/babel.cpp.gcc43 2007-12-12 20:16:13.000000000 +0100
+++ openbabel-2.2.0b3-20080215-r2249/tools/babel.cpp 2008-02-23 20:55:55.000000000 +0100
@@ -42,6 +42,7 @@ extern "C" int strncasecmp(const char *s
#include <openbabel/obconversion.h>
#include <openbabel/plugin.h>
2008-01-06 20:39:48 +00:00
#include <cstdlib>
+#include <cstring>
using namespace std;
using namespace OpenBabel;