- fix build with gcc-4.3, take 1
This commit is contained in:
parent
3c2ab5eb4d
commit
10fba4fdaf
12
openbabel-gcc43.patch
Normal file
12
openbabel-gcc43.patch
Normal file
@ -0,0 +1,12 @@
|
||||
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>
|
@ -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 @@ Python wrapper for the Open Babel library.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p1 -b .gcc43
|
||||
|
||||
%build
|
||||
autoreconf --force --install
|
||||
@ -144,6 +146,9 @@ popd
|
||||
%{python_sitearch}/pybel.py*
|
||||
|
||||
%changelog
|
||||
* Sun Jan 06 2008 Dominik Mierzejewski <rpm@greysector.net> 2.1.1-3
|
||||
- fix build with gcc-4.3
|
||||
|
||||
* Wed Nov 28 2007 Dominik Mierzejewski <rpm@greysector.net> 2.1.1-2
|
||||
- build against external inchi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user