~ruther/guix-local

ref: 183d1b1aaf5871d6b048176f9aebb1b2aadd28c6 guix-local/gnu/packages/patches/fcgi-2.4.0-gcc44-fixes.patch -rw-r--r-- 481 bytes
183d1b1a — Ricardo Wurmus gnu: ghc-trifecta: Update to 1.7.1.1. 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Taken from http://pkgs.fedoraproject.org/cgit/rpms/fcgi.git/plain/fcgi-2.4.0-gcc44_fixes.patch.
Fixes compilation with GCC 4.4 and later.

diff -up fcgi-2.4.0/libfcgi/fcgio.cpp.gcc44_fixes fcgi-2.4.0/libfcgi/fcgio.cpp
--- fcgi-2.4.0/libfcgi/fcgio.cpp.gcc44_fixes	2002-02-24 21:12:22.000000000 +0100
+++ fcgi-2.4.0/libfcgi/fcgio.cpp	2009-02-15 11:35:18.000000000 +0100
@@ -23,6 +23,7 @@
 #endif
 
 #include <limits.h>
+#include <cstdio>
 #include "fcgio.h"
 
 using std::streambuf;