rpms/fcgi/devel fcgi-2.4.0-gcc44_fixes.patch, NONE, 1.1 fcgi.spec, 1.6, 1.7

Till Maas till at fedoraproject.org
Sun Feb 15 10:45:15 UTC 2009


Author: till

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

Modified Files:
	fcgi.spec 
Added Files:
	fcgi-2.4.0-gcc44_fixes.patch 
Log Message:
* Sun Feb 15 2009 Till Maas <opensource at till.name> - 2.4.0-7
- Add missing #include <cstdio> to make it compile with gcc 4.4


fcgi-2.4.0-gcc44_fixes.patch:

--- NEW FILE fcgi-2.4.0-gcc44_fixes.patch ---
diff -up fcgi-2.4.0/libfcgi/fcgio.cpp.gcc44_fixes fcgi-2.4.0/libfcgi/fcgio.cpp
--- fcgi-2.4.0/libfcgi/fcgio.cpp.gcc44_fixes	2002-02-24 21:12:22.000000000 +0100
+++ fcgi-2.4.0/libfcgi/fcgio.cpp	2009-02-15 11:35:18.000000000 +0100
@@ -23,6 +23,7 @@
 #endif
 
 #include <limits.h>
+#include <cstdio>
 #include "fcgio.h"
 
 using std::streambuf;


Index: fcgi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fcgi/devel/fcgi.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- fcgi.spec	14 Oct 2008 18:20:07 -0000	1.6
+++ fcgi.spec	15 Feb 2009 10:44:44 -0000	1.7
@@ -1,6 +1,6 @@
 Name:           fcgi
 Version:        2.4.0
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        FastCGI development kit
 
 Group:          Development/Languages
@@ -12,6 +12,7 @@
 # Patch0 created with Source1 after patching Patch1 and Patch2
 Patch1:         fcgi-2.4.0-configure.in.patch
 Patch2:         fcgi-2.4.0-Makefile.am-CPPFLAGS.patch
+Patch3:         fcgi-2.4.0-gcc44_fixes.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # for -perl
@@ -47,6 +48,8 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch3 -p1 -b .gcc44_fixes
+
 # remove DOS End Of Line Encoding
 sed -i 's/\r//' doc/fastcgi-prog-guide/ch2c.htm
 # fix file permissions
@@ -134,8 +137,10 @@
 %doc perl/ChangeLog perl/README perl/*.fpl 
 
 
-
 %changelog
+* Sun Feb 15 2009 Till Maas <opensource at till.name> - 2.4.0-7
+- Add missing #include <cstdio> to make it compile with gcc 4.4
+
 * Tue Oct 14 2008 Chris Weyl <cweyl at alumni.drew.edu> - 2.4.0-6
 - package up the perl bindings in their own subpackage
 




More information about the scm-commits mailing list