From 9ff38014bec3ea26d996054fda38748b4283e098 Mon Sep 17 00:00:00 2001 From: Dominik Mierzejewski Date: Jan 06 2008 23:44:59 +0000 Subject: - fix build with gcc-4.3, take 1 --- diff --git a/xdrawchem-gcc43.patch b/xdrawchem-gcc43.patch new file mode 100644 index 0000000..faefa98 --- /dev/null +++ b/xdrawchem-gcc43.patch @@ -0,0 +1,8 @@ +diff -up xdrawchem-1.9.9/xdrawchem/molinfodialog.cpp.gcc43 xdrawchem-1.9.9/xdrawchem/molinfodialog.cpp +--- xdrawchem-1.9.9/xdrawchem/molinfodialog.cpp.gcc43 2005-08-07 22:00:19.000000000 +0200 ++++ xdrawchem-1.9.9/xdrawchem/molinfodialog.cpp 2008-01-07 00:43:15.000000000 +0100 +@@ -1,3 +1,4 @@ ++#include + #include + #include + diff --git a/xdrawchem.spec b/xdrawchem.spec index 97eb6e4..1e5c294 100644 --- a/xdrawchem.spec +++ b/xdrawchem.spec @@ -1,10 +1,11 @@ Name: xdrawchem Version: 1.9.9 -Release: 6%{?dist} +Release: 7%{?dist} Summary: 2D chemical structures drawing tool Source: http://dl.sourceforge.net/sourceforge/xdrawchem/%{name}-%{version}.tar.gz Source1: %{name}.desktop Source2: %{name}.png +Patch: %{name}-gcc43.patch URL: http://xdrawchem.sourceforge.net/ License: GPLv2+ Group: Applications/Engineering @@ -22,6 +23,7 @@ XDrawChem and other chemistry applications. %prep %setup -q +%patch -p1 -b .gcc43 %build %configure @@ -51,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pixmaps/xdrawchem.png %changelog +* Mon Jan 07 2008 Dominik Mierzejewski 1.9.9-7 +- fix build with gcc-4.3 + * Wed Aug 29 2007 Dominik Mierzejewski 1.9.9-6 - rebuild for BuildID - fix license tag