fastcgi: Add patch to compile with gcc4.4
authorDirk Opfer <dirk@do13.de>
Sun, 20 Sep 2009 10:22:02 +0000 (12:22 +0200)
committerDirk Opfer <dirk@do13.de>
Mon, 28 Sep 2009 16:00:05 +0000 (18:00 +0200)
recipes/fastcgi/fastcgi_2.4.0.bb
recipes/fastcgi/files/cstdio.patch [new file with mode: 0644]

index 4c70aa3..a575da1 100644 (file)
@@ -1,9 +1,10 @@
 LICENSE = "Open Market"
 DESCRIPTION = "Fast CGI backend (web server to CGI handler) library"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "http://www.fastcgi.com/dist/fcgi-${PV}.tar.gz \
-file://link-against-math.patch;patch=1"
+file://link-against-math.patch;patch=1 \
+file://cstdio.patch;patch=1 "
 
 S=${WORKDIR}/fcgi-${PV}
 
diff --git a/recipes/fastcgi/files/cstdio.patch b/recipes/fastcgi/files/cstdio.patch
new file mode 100644 (file)
index 0000000..90ce2e7
--- /dev/null
@@ -0,0 +1,12 @@
+Index: fcgi-2.4.0/libfcgi/fcgio.cpp
+===================================================================
+--- fcgi-2.4.0.orig/libfcgi/fcgio.cpp  2009-09-16 23:20:20.504735309 +0200
++++ fcgi-2.4.0/libfcgi/fcgio.cpp       2009-09-16 23:20:34.325635844 +0200
+@@ -23,6 +23,7 @@
+ #endif
+ #include <limits.h>
++#include <cstdio>
+ #include "fcgio.h"
+ using std::streambuf;