Build of dev-libs/fcgi-2.4.1_pre0311112127 fails with the following errors: fcgio.cpp: In destructor 'virtual fcgi_streambuf::~fcgi_streambuf()': fcgio.cpp:50: error: 'EOF' was not declared in this scope fcgio.cpp: In member function 'virtual int fcgi_streambuf::overflow(int)': fcgio.cpp:70: error: 'EOF' was not declared in this scope fcgio.cpp:75: error: 'EOF' was not declared in this scope fcgio.cpp: In member function 'virtual int fcgi_streambuf::sync()': fcgio.cpp:86: error: 'EOF' was not declared in this scope fcgio.cpp:87: error: 'EOF' was not declared in this scope fcgio.cpp: In member function 'virtual int fcgi_streambuf::underflow()': fcgio.cpp:113: error: 'EOF' was not declared in this scope This is because #include <cstdio> is missing from one of the headers.
Created attachment 179976 [details, diff] Patch to add #include <cstdio> to enable gcc 4.4 build
in gcc-porting overlay
Ryan, thanks for doing all the work here, and apoligies for the delay on my side. Daniel, thanks for the patch and diagnosis. I've moved Ryan's version to CVS.