wok-stable rev 4215

fcgi: build fix build with gcc 4.x
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Sep 24 10:06:40 2009 +0000 (2009-09-24)
parents f165fed5166c
children cd075316eefa
files fcgi/receipt fcgi/stuff/fcgi-2.4.0_gcc4.u
line diff
     1.1 --- a/fcgi/receipt	Thu Sep 24 10:48:19 2009 +0200
     1.2 +++ b/fcgi/receipt	Thu Sep 24 10:06:40 2009 +0000
     1.3 @@ -12,6 +12,9 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	# Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654)
     1.8 +	busybox patch -p0 -i stuff/fcgi-2.4.0_gcc4.u
     1.9 +	
    1.10  	cd $src
    1.11  	./configure \
    1.12  		--prefix=/usr \
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/fcgi/stuff/fcgi-2.4.0_gcc4.u	Thu Sep 24 10:06:40 2009 +0000
     2.3 @@ -0,0 +1,10 @@
     2.4 +--- fcgi-2.4.0-ori/include/fcgio.h	Mon Feb 25 13:16:11 2002
     2.5 ++++ fcgi-2.4.0/include/fcgio.h	Thu Sep 24 09:43:58 2009
     2.6 +@@ -31,6 +31,7 @@
     2.7 + #define FCGIO_H
     2.8 + 
     2.9 + #include <iostream>
    2.10 ++#include <cstdio>
    2.11 + 
    2.12 + #include "fcgiapp.h"
    2.13 +