rpms/openbabel/devel openbabel-gcc43.patch, NONE, 1.1 openbabel.spec, 1.13, 1.14

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


Author: rathann

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

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

openbabel-gcc43.patch:

--- NEW FILE openbabel-gcc43.patch ---
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
@@ -23,7 +23,7 @@ GNU General Public License for more deta
 #include <openbabel/babelconfig.h>
 
 #include <stdio.h>
-
+#include <string.h>
 #include <fstream>
 #include <vector>
 #include <string>


Index: openbabel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openbabel/devel/openbabel.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- openbabel.spec	28 Nov 2007 18:29:53 -0000	1.13
+++ openbabel.spec	6 Jan 2008 18:05:17 -0000	1.14
@@ -5,12 +5,13 @@
 
 Name: openbabel
 Version: 2.1.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: Chemistry software file format converter
 License: GPLv2
 Group: Applications/File
 URL: http://openbabel.sourceforge.net/
 Source: http://dl.sourceforge.net/sourceforge/openbabel/%{name}-%{version}.tar.gz
+Patch: %{name}-gcc43.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: inchi-devel
 BuildRequires: libtool
@@ -66,6 +67,7 @@
 
 %prep
 %setup -q
+%patch -p1 -b .gcc43
 
 %build
 autoreconf --force --install
@@ -144,6 +146,9 @@
 %{python_sitearch}/pybel.py*
 
 %changelog
+* Sun Jan 06 2008 Dominik Mierzejewski <rpm at greysector.net> 2.1.1-3
+- fix build with gcc-4.3
+
 * Wed Nov 28 2007 Dominik Mierzejewski <rpm at greysector.net> 2.1.1-2
 - build against external inchi
 




More information about the fedora-extras-commits mailing list