Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] libfcgi: fix build with C++ support and gcc >= 4.4
@ 2012-04-30 19:38 Peter Korsgaard
  2012-05-01  8:41 ` Rico Bachmann
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Korsgaard @ 2012-04-30 19:38 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=ae63ca8f4782b91fd9e41316bfb79a43f54f5cd2
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

As reported on the ml by Rico Bachmann.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/libfcgi/libfcgi-eof.patch |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/package/libfcgi/libfcgi-eof.patch b/package/libfcgi/libfcgi-eof.patch
new file mode 100644
index 0000000..e731426
--- /dev/null
+++ b/package/libfcgi/libfcgi-eof.patch
@@ -0,0 +1,24 @@
+[PATCH] fix build with C++ support and gcc >= 4.4
+
+EOF is defined in stdio, so ensure it is included.
+
+Based on similar patch by Markus Rothe:
+http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3205
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ libfcgi/fcgio.cpp |    1 +
+ 1 file changed, 1 insertion(+)
+
+Index: fcgi-2.4.0/libfcgi/fcgio.cpp
+===================================================================
+--- fcgi-2.4.0.orig/libfcgi/fcgio.cpp
++++ fcgi-2.4.0/libfcgi/fcgio.cpp
+@@ -22,6 +22,7 @@
+ #define DLLAPI  __declspec(dllexport)
+ #endif
+ 
++#include <cstdio>
+ #include <limits.h>
+ #include "fcgio.h"
+ 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-01  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-30 19:38 [Buildroot] [git commit] libfcgi: fix build with C++ support and gcc >= 4.4 Peter Korsgaard
2012-05-01  8:41 ` Rico Bachmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox