rpms/sword/devel sword-gcc44.patch,NONE,1.1 sword.spec,1.25,1.26

Deji Akingunola deji at fedoraproject.org
Wed Feb 4 20:44:23 UTC 2009


Author: deji

Update of /cvs/pkgs/rpms/sword/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1730

Modified Files:
	sword.spec 
Added Files:
	sword-gcc44.patch 
Log Message:
* Wed Feb 04 2009 Deji Akingunola <dakingun at gmail.com> - 1.5.11-3
- Add patch to build with gcc-4.4


sword-gcc44.patch:

--- NEW FILE sword-gcc44.patch ---
--- 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 <swmodule.h>
 #include <versekey.h>
 #include <iostream>
+#include <cstdio>
 
 #ifndef NO_SWORD_NAMESPACE
 using sword::SWMgr;


Index: sword.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sword/devel/sword.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- sword.spec	3 Jun 2008 10:30:40 -0000	1.25
+++ sword.spec	4 Feb 2009 20:43:53 -0000	1.26
@@ -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 @@
 
 %prep
 %setup -q
+%patch0 -p0 -b .gcc44
 
 %build
 %configure --disable-static --with-icu --with-lucene
@@ -79,6 +81,9 @@
 %{_libdir}/libsword.so
 
 %changelog
+* Wed Feb 04 2009 Deji Akingunola <dakingun at gmail.com> - 1.5.11-3
+- Add patch to build with gcc-4.4
+
 * Tue Jun 03 2008 Caolán McNamara <caolanm at redhat.com> - 1.5.11-2
 - rebuild for new icu
 




More information about the scm-commits mailing list