rpms/cook/devel cook-2.25-gcc4.patch,NONE,1.1 cook.spec,1.8,1.9

Jeremy Katz (katzj) fedora-extras-commits at redhat.com
Wed May 25 21:37:20 UTC 2005


Author: katzj

Update of /cvs/extras/rpms/cook/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25612

Modified Files:
	cook.spec 
Added Files:
	cook-2.25-gcc4.patch 
Log Message:
* Wed May 25 2005 Jeremy Katz <katzj at redhat.com> - 2.25-4
- fix build with gcc4 (mschwendt, #156203)


cook-2.25-gcc4.patch:

--- NEW FILE cook-2.25-gcc4.patch ---
--- cook-2.25/file_check/file_check.c.gcc4	2005-05-25 17:34:49.000000000 -0400
+++ cook-2.25/file_check/file_check.c	2005-05-25 17:35:16.000000000 -0400
@@ -28,7 +28,7 @@
 #include <error_intl.h>
 
 int		warning;
-static int	limit;
+int	limit;
 static int	number_of_blank_lines;
 static int	number_of_errors;
 static int	line_number;


Index: cook.spec
===================================================================
RCS file: /cvs/extras/rpms/cook/devel/cook.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- cook.spec	22 May 2005 22:33:15 -0000	1.8
+++ cook.spec	25 May 2005 21:37:18 -0000	1.9
@@ -1,6 +1,6 @@
 Name:		cook
 Version:	2.25
-Release: 3
+Release: 4
 
 Summary: 	File construction tool
 
@@ -8,6 +8,7 @@
 License:	GPL
 URL:		http://www.canb.auug.org.au/~millerp/cook/
 Source:		http://www.canb.auug.org.au/~millerp/cook/cook-2.25.tar.gz
+Patch0: cook-2.25-gcc4.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	groff, bison, gettext, sharutils, m4
 Provides:	perl(host_lists.pl)
@@ -21,6 +22,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .gcc4
 
 %build
 %configure
@@ -54,6 +56,9 @@
 %doc README LICENSE
 
 %changelog
+* Wed May 25 2005 Jeremy Katz <katzj at redhat.com> - 2.25-4
+- fix build with gcc4 (mschwendt, #156203)
+
 * Sun May 22 2005 Jeremy Katz <katzj at redhat.com> - 2.25-3
 - rebuild on all arches
 




More information about the fedora-extras-commits mailing list