openbabel/openbabel-gcc43.patch

139 lines
6.6 KiB
Diff

diff -up openbabel-2.2.1b3-20090215-r2890/include/openbabel/data.h.gcc43 openbabel-2.2.1b3-20090215-r2890/include/openbabel/data.h
--- openbabel-2.2.1b3-20090215-r2890/include/openbabel/data.h.gcc43 2008-12-01 18:42:20.000000000 +0100
+++ openbabel-2.2.1b3-20090215-r2890/include/openbabel/data.h 2009-03-01 10:54:43.000000000 +0100
@@ -23,7 +23,7 @@ GNU General Public License for more deta
#include <openbabel/babelconfig.h>
#include <stdio.h>
-
+#include <cstring>
#include <fstream>
#include <vector>
#include <string>
diff -up openbabel-2.2.1b3-20090215-r2890/include/openbabel/obconversion.h.gcc43 openbabel-2.2.1b3-20090215-r2890/include/openbabel/obconversion.h
--- openbabel-2.2.1b3-20090215-r2890/include/openbabel/obconversion.h.gcc43 2008-12-01 18:42:19.000000000 +0100
+++ openbabel-2.2.1b3-20090215-r2890/include/openbabel/obconversion.h 2009-03-01 10:54:43.000000000 +0100
@@ -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.1b3-20090215-r2890/include/openbabel/obmolecformat.h.gcc43 openbabel-2.2.1b3-20090215-r2890/include/openbabel/obmolecformat.h
--- openbabel-2.2.1b3-20090215-r2890/include/openbabel/obmolecformat.h.gcc43 2008-12-01 18:42:20.000000000 +0100
+++ openbabel-2.2.1b3-20090215-r2890/include/openbabel/obmolecformat.h 2009-03-01 10:54:43.000000000 +0100
@@ -23,6 +23,8 @@ GNU General Public License for more deta
#include <hash_map>
#endif
+#include <typeinfo>
+
#include <openbabel/mol.h>
#include <openbabel/babelconfig.h>
#include <openbabel/obconversion.h>
diff -up openbabel-2.2.1b3-20090215-r2890/include/openbabel/xml.h.gcc43 openbabel-2.2.1b3-20090215-r2890/include/openbabel/xml.h
--- openbabel-2.2.1b3-20090215-r2890/include/openbabel/xml.h.gcc43 2008-12-01 18:42:19.000000000 +0100
+++ openbabel-2.2.1b3-20090215-r2890/include/openbabel/xml.h 2009-03-01 10:54:43.000000000 +0100
@@ -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.1b3-20090215-r2890/src/dlhandler_unix.cpp.gcc43 openbabel-2.2.1b3-20090215-r2890/src/dlhandler_unix.cpp
--- openbabel-2.2.1b3-20090215-r2890/src/dlhandler_unix.cpp.gcc43 2009-01-16 16:43:58.000000000 +0100
+++ openbabel-2.2.1b3-20090215-r2890/src/dlhandler_unix.cpp 2009-03-01 10:59:50.000000000 +0100
@@ -27,6 +27,7 @@ GNU General Public License for more deta
#include <dlfcn.h>
#include <cstring>
#include <cstdlib>
+#include <cstdio>
using namespace std;
diff -up openbabel-2.2.1b3-20090215-r2890/src/fingerprint.cpp.gcc43 openbabel-2.2.1b3-20090215-r2890/src/fingerprint.cpp
--- openbabel-2.2.1b3-20090215-r2890/src/fingerprint.cpp.gcc43 2008-12-01 18:42:02.000000000 +0100
+++ openbabel-2.2.1b3-20090215-r2890/src/fingerprint.cpp 2009-03-01 10:54:43.000000000 +0100
@@ -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.1b3-20090215-r2890/src/formats/fchkformat.cpp.gcc43 openbabel-2.2.1b3-20090215-r2890/src/formats/fchkformat.cpp
--- openbabel-2.2.1b3-20090215-r2890/src/formats/fchkformat.cpp.gcc43 2009-02-10 23:40:18.000000000 +0100
+++ openbabel-2.2.1b3-20090215-r2890/src/formats/fchkformat.cpp 2009-03-01 10:54:43.000000000 +0100
@@ -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.1b3-20090215-r2890/src/formats/rxnformat.cpp.gcc43 openbabel-2.2.1b3-20090215-r2890/src/formats/rxnformat.cpp
--- openbabel-2.2.1b3-20090215-r2890/src/formats/rxnformat.cpp.gcc43 2009-01-14 23:52:20.000000000 +0100
+++ openbabel-2.2.1b3-20090215-r2890/src/formats/rxnformat.cpp 2009-03-01 10:54:43.000000000 +0100
@@ -16,6 +16,7 @@ GNU General Public License for more deta
#include "openbabel/babelconfig.h"
#include <string>
#include <iomanip>
+#include <typeinfo>
#include "openbabel/mol.h"
#include "openbabel/obconversion.h"
#include "openbabel/reaction.h"
diff -up openbabel-2.2.1b3-20090215-r2890/src/obconversion.cpp.gcc43 openbabel-2.2.1b3-20090215-r2890/src/obconversion.cpp
--- openbabel-2.2.1b3-20090215-r2890/src/obconversion.cpp.gcc43 2009-01-28 21:38:24.000000000 +0100
+++ openbabel-2.2.1b3-20090215-r2890/src/obconversion.cpp 2009-03-01 10:54:43.000000000 +0100
@@ -38,6 +38,7 @@ GNU General Public License for more deta
#include <map>
#include <locale>
#include <limits>
+#include <typeinfo>
#include <stdlib.h>
diff -up openbabel-2.2.1b3-20090215-r2890/src/residue.cpp.gcc43 openbabel-2.2.1b3-20090215-r2890/src/residue.cpp
--- openbabel-2.2.1b3-20090215-r2890/src/residue.cpp.gcc43 2008-12-01 18:42:02.000000000 +0100
+++ openbabel-2.2.1b3-20090215-r2890/src/residue.cpp 2009-03-01 10:54:43.000000000 +0100
@@ -26,6 +26,8 @@ obtained in part or whole from RasMol2 b
// File Includes
///////////////////////////////////////////////////////////////////////////////
+#include <cstring>
+
#include <openbabel/babelconfig.h>
#include <openbabel/residue.h>
diff -up openbabel-2.2.1b3-20090215-r2890/src/zipstreamimpl.h.gcc43 openbabel-2.2.1b3-20090215-r2890/src/zipstreamimpl.h
--- openbabel-2.2.1b3-20090215-r2890/src/zipstreamimpl.h.gcc43 2008-12-01 18:42:02.000000000 +0100
+++ openbabel-2.2.1b3-20090215-r2890/src/zipstreamimpl.h 2009-03-01 10:54:43.000000000 +0100
@@ -31,6 +31,8 @@ Altered by: Geoffrey Hutchison 2005 for
minor namespace modifications, VC++ compatibility
*/
+#include <cstring>
+
//*****************************************************************************
// template class basic_zip_streambuf
//*****************************************************************************
diff -up openbabel-2.2.1b3-20090215-r2890/tools/babel.cpp.gcc43 openbabel-2.2.1b3-20090215-r2890/tools/babel.cpp
--- openbabel-2.2.1b3-20090215-r2890/tools/babel.cpp.gcc43 2008-12-01 18:42:04.000000000 +0100
+++ openbabel-2.2.1b3-20090215-r2890/tools/babel.cpp 2009-03-01 10:54:43.000000000 +0100
@@ -42,6 +42,7 @@ extern "C" int strncasecmp(const char *s
#include <openbabel/obconversion.h>
#include <openbabel/plugin.h>
#include <cstdlib>
+#include <cstring>
using namespace std;
using namespace OpenBabel;