rpms/openbabel/devel openbabel-gcc43.patch,1.7,1.8
Dominik Mierzejewski (rathann)
fedora-extras-commits at redhat.com
Sun Jan 6 20:16:50 UTC 2008
Author: rathann
Update of /cvs/pkgs/rpms/openbabel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21032
Modified Files:
openbabel-gcc43.patch
Log Message:
- fix build with gcc-4.3, take 8
openbabel-gcc43.patch:
Index: openbabel-gcc43.patch
===================================================================
RCS file: /cvs/pkgs/rpms/openbabel/devel/openbabel-gcc43.patch,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- openbabel-gcc43.patch 6 Jan 2008 19:51:16 -0000 1.7
+++ openbabel-gcc43.patch 6 Jan 2008 20:16:39 -0000 1.8
@@ -68,6 +68,18 @@
#include <fstream>
#include <openbabel/fingerprint.h>
+diff -up openbabel-2.1.1/include/openbabel/xml.h.gcc43 openbabel-2.1.1/include/openbabel/xml.h
+--- openbabel-2.1.1/include/openbabel/xml.h.gcc43 2008-01-06 21:15:09.000000000 +0100
++++ openbabel-2.1.1/include/openbabel/xml.h 2008-01-06 21:14:42.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.1.1/include/openbabel/obconversion.h.gcc43 openbabel-2.1.1/include/openbabel/obconversion.h
--- openbabel-2.1.1/include/openbabel/obconversion.h.gcc43 2007-06-02 15:56:37.000000000 +0200
+++ openbabel-2.1.1/include/openbabel/obconversion.h 2008-01-06 19:26:57.000000000 +0100
@@ -91,3 +103,26 @@
#include <fstream>
#include <vector>
#include <string>
+diff -up openbabel-2.1.1/include/openbabel/obmolecformat.h.gcc43 openbabel-2.1.1/include/openbabel/obmolecformat.h
+--- openbabel-2.1.1/include/openbabel/obmolecformat.h.gcc43 2007-02-26 17:46:15.000000000 +0100
++++ openbabel-2.1.1/include/openbabel/obmolecformat.h 2008-01-06 21:14:18.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/obconversion.h>
+
+diff -up openbabel-2.1.1/include/openbabel/lineend.h.gcc43 openbabel-2.1.1/include/openbabel/lineend.h
+--- openbabel-2.1.1/include/openbabel/lineend.h.gcc43 2007-06-02 15:56:39.000000000 +0200
++++ openbabel-2.1.1/include/openbabel/lineend.h 2008-01-06 21:06:17.000000000 +0100
+@@ -21,6 +21,7 @@ General Public License for more details.
+ #define OB_LINEEND_H
+
+ #include <streambuf>
++#include <climits>
+
+ #ifndef OBCONV
+ #define OBCONV
More information about the fedora-extras-commits
mailing list