diff --git a/xdrawchem-include-header.patch b/xdrawchem-include-header.patch new file mode 100644 index 0000000..f1c34b6 --- /dev/null +++ b/xdrawchem-include-header.patch @@ -0,0 +1,10 @@ +--- xdrawchem-1.9.9/xdrawchem/application.cpp.compile 2005-11-16 12:01:55.000000000 +0900 ++++ xdrawchem-1.9.9/xdrawchem/application.cpp 2012-08-01 15:57:31.545768999 +0900 +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + + using std::cout; + using std::endl; diff --git a/xdrawchem.spec b/xdrawchem.spec index 2340702..cd86fc4 100644 --- a/xdrawchem.spec +++ b/xdrawchem.spec @@ -1,12 +1,13 @@ Name: xdrawchem Version: 1.9.9 -Release: 18%{?dist} +Release: 19%{?dist} Summary: 2D chemical structures drawing tool Source0: http://downloads.sourceforge.net/sourceforge/xdrawchem/%{name}-%{version}.tar.gz Source1: %{name}.desktop Patch0: %{name}-gcc43.patch Patch1: %{name}-ob22.patch Patch2: %{name}-warn.patch +Patch3: %{name}-include-header.patch URL: http://xdrawchem.sourceforge.net/ License: GPLv2+ Group: Applications/Engineering @@ -28,6 +29,7 @@ XDrawChem and other chemistry applications. %patch0 -p1 -b .gcc43 %patch1 -p1 -b .ob %patch2 -p1 -b .warn +%patch3 -p1 -b .include %build %configure \ @@ -72,6 +74,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/icons/hicolor/*/apps/xdrawchem.png %changelog +* Wed Aug 1 2012 Mamoru Tasaka - 1.9.9-19 +- Fix build error by including needed header + * Sun Jul 22 2012 Fedora Release Engineering - 1.9.9-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild