diff --git a/sword-gcc44.patch b/sword-gcc44.patch new file mode 100644 index 0000000..ca76723 --- /dev/null +++ b/sword-gcc44.patch @@ -0,0 +1,10 @@ +--- utilities/emptyvss.cpp 2005-11-20 01:20:30.000000000 -0500 ++++ utilities/emptyvss.cpp.new 2009-02-04 13:27:42.517817482 -0500 +@@ -2,6 +2,7 @@ + #include + #include + #include ++#include + + #ifndef NO_SWORD_NAMESPACE + using sword::SWMgr; diff --git a/sword.spec b/sword.spec index 9ed11e4..1e471f2 100644 --- a/sword.spec +++ b/sword.spec @@ -1,12 +1,13 @@ Name: sword Version: 1.5.11 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Free Bible Software Project Group: System Environment/Libraries License: GPLv2 URL: http://www.crosswire.org/sword/ Source0: http://www.crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-%{version}.tar.gz +Patch0: sword-gcc44.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: openssl-devel BuildRequires: curl-devel @@ -39,6 +40,7 @@ that uses the sword API, such as Gnomesword or Bibletime. %prep %setup -q +%patch0 -p0 -b .gcc44 %build %configure --disable-static --with-icu --with-lucene @@ -79,6 +81,9 @@ rm -rf %{buildroot} %{_libdir}/libsword.so %changelog +* Wed Feb 04 2009 Deji Akingunola - 1.5.11-3 +- Add patch to build with gcc-4.4 + * Tue Jun 03 2008 Caolán McNamara - 1.5.11-2 - rebuild for new icu