From 8e8e3205645b42219c8c09ad14fa0dec061c3a8f Mon Sep 17 00:00:00 2001 From: Dirk Opfer Date: Sun, 20 Sep 2009 12:22:02 +0200 Subject: fastcgi: Add patch to compile with gcc4.4 --- recipes/fastcgi/fastcgi_2.4.0.bb | 5 +++-- recipes/fastcgi/files/cstdio.patch | 12 ++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 recipes/fastcgi/files/cstdio.patch (limited to 'recipes/fastcgi') diff --git a/recipes/fastcgi/fastcgi_2.4.0.bb b/recipes/fastcgi/fastcgi_2.4.0.bb index 4c70aa3461..a575da1d84 100644 --- a/recipes/fastcgi/fastcgi_2.4.0.bb +++ b/recipes/fastcgi/fastcgi_2.4.0.bb @@ -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 index 0000000000..90ce2e7e0b --- /dev/null +++ b/recipes/fastcgi/files/cstdio.patch @@ -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 ++#include + #include "fcgio.h" + + using std::streambuf; -- cgit v1.2.3