[oe-commits] Dirk Opfer : fastcgi: Add patch to compile with gcc4.4

git version control git at git.openembedded.org
Mon Sep 28 16:00:53 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 8e8e3205645b42219c8c09ad14fa0dec061c3a8f
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8e8e3205645b42219c8c09ad14fa0dec061c3a8f

Author: Dirk Opfer <dirk at do13.de>
Date:   Sun Sep 20 12:22:02 2009 +0200

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(-)

diff --git a/recipes/fastcgi/fastcgi_2.4.0.bb b/recipes/fastcgi/fastcgi_2.4.0.bb
index 4c70aa3..a575da1 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 0000000..90ce2e7
--- /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 <limits.h>
++#include <cstdio>
+ #include "fcgio.h"
+ 
+ using std::streambuf;





More information about the Openembedded-commits mailing list