rpms/openbabel/devel openbabel-gcc43.patch,1.2,1.3

Dominik Mierzejewski (rathann) fedora-extras-commits at redhat.com
Sun Jan 6 18:29:22 UTC 2008


Author: rathann

Update of /cvs/pkgs/rpms/openbabel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3597

Modified Files:
	openbabel-gcc43.patch 
Log Message:
- fix build with gcc-4.3, take 3

openbabel-gcc43.patch:

Index: openbabel-gcc43.patch
===================================================================
RCS file: /cvs/pkgs/rpms/openbabel/devel/openbabel-gcc43.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- openbabel-gcc43.patch	6 Jan 2008 18:18:21 -0000	1.2
+++ openbabel-gcc43.patch	6 Jan 2008 18:29:11 -0000	1.3
@@ -1,3 +1,15 @@
+diff -up openbabel-2.1.1/src/zipstreamimpl.h.gcc43 openbabel-2.1.1/src/zipstreamimpl.h
+--- openbabel-2.1.1/src/zipstreamimpl.h.gcc43	2006-12-28 16:19:05.000000000 +0100
++++ openbabel-2.1.1/src/zipstreamimpl.h	2008-01-06 19:28:16.000000000 +0100
+@@ -31,6 +31,8 @@ Altered by: Geoffrey Hutchison 2005 for 
+             minor namespace modifications, VC++ compatibility
+ */
+ 
++#include <string.h>
++
+ //*****************************************************************************
+ //  template class basic_zip_streambuf
+ //*****************************************************************************
 diff -up openbabel-2.1.1/src/fingerprint.cpp.gcc43 openbabel-2.1.1/src/fingerprint.cpp
 --- openbabel-2.1.1/src/fingerprint.cpp.gcc43	2007-06-02 15:56:31.000000000 +0200
 +++ openbabel-2.1.1/src/fingerprint.cpp	2008-01-06 19:17:45.000000000 +0100
@@ -10,6 +22,17 @@
  #include <fstream>
  
  #include <openbabel/fingerprint.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
+@@ -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.1.1/include/openbabel/data.h.gcc43 openbabel-2.1.1/include/openbabel/data.h
 --- openbabel-2.1.1/include/openbabel/data.h.gcc43	2007-04-14 02:34:14.000000000 +0200
 +++ openbabel-2.1.1/include/openbabel/data.h	2008-01-06 19:03:06.000000000 +0100




More information about the fedora-extras-commits mailing list