rpms/zidrav/devel zidrav-gcc43.patch,NONE,1.1 zidrav.spec,1.2,1.3

Dominik Mierzejewski (rathann) fedora-extras-commits at redhat.com
Sun Jan 6 13:56:50 UTC 2008


Author: rathann

Update of /cvs/pkgs/rpms/zidrav/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25979

Modified Files:
	zidrav.spec 
Added Files:
	zidrav-gcc43.patch 
Log Message:
- fix compilation with gcc-4.3

zidrav-gcc43.patch:

--- NEW FILE zidrav-gcc43.patch ---
diff -up zidrav4unix-1.2.0/core.h.gcc43 zidrav4unix-1.2.0/core.h
--- zidrav4unix-1.2.0/core.h.gcc43	2005-05-19 22:58:40.000000000 +0200
+++ zidrav4unix-1.2.0/core.h	2008-01-06 14:44:13.000000000 +0100
@@ -21,7 +21,7 @@
 
 #include <iostream>
 #include <fstream>
-#include <string>
+#include <cstring>
 
 using namespace std;
 


Index: zidrav.spec
===================================================================
RCS file: /cvs/pkgs/rpms/zidrav/devel/zidrav.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- zidrav.spec	28 Aug 2007 23:03:41 -0000	1.2
+++ zidrav.spec	6 Jan 2008 13:56:11 -0000	1.3
@@ -1,11 +1,12 @@
 Summary: Zorba's Incredible Data Repairer And Verifier
 Name: zidrav
 Version: 1.2.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 URL: http://sourceforge.net/projects/zidrav
 Group: Applications/File
 Source: http://switch.dl.sourceforge.net/sourceforge/zidrav/%{name}4unix-%{version}.tar.gz
-Patch: %{name}-rpm.patch
+Patch0: %{name}-rpm.patch
+Patch1: %{name}-gcc43.patch
 License: GPLv2+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -19,6 +20,7 @@
 %prep
 %setup -q -n %{name}4unix-%{version}
 %patch0 -p1 -b .r
+%patch1 -p1 -b .gcc43
 
 %build
 CXXFLAGS="$RPM_OPT_FLAGS"
@@ -43,6 +45,9 @@
 %{_mandir}/man1/%{name}.*
 
 %changelog
+* Sun Jan 06 2008 Dominik 'Rathann' Mierzejewski <rpm at greysector.net> 1.2.0-4
+- fix compilation with gcc-4.3
+
 * Wed Aug 29 2007 Dominik 'Rathann' Mierzejewski <rpm at greysector.net> 1.2.0-3
 - rebuild for BuildID
 - update license tag




More information about the fedora-extras-commits mailing list