summary refs log tree commit diff
path: root/gnu/packages/patches/fcgi-2.4.0-gcc44-fixes.patch
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-11-30 17:04:34 +0100
committerRicardo Wurmus <rekado@elephly.net>2016-12-03 17:06:47 +0100
commitab519cfa3db289303eb2e640d959340b3f66e738 (patch)
treede05f7805d02f2e453bd6e6bcb9e6c641f3d08f4 /gnu/packages/patches/fcgi-2.4.0-gcc44-fixes.patch
parente9913f827135b221fe82815c76f583af6ecdd7e4 (diff)
downloadguix-ab519cfa3db289303eb2e640d959340b3f66e738.tar.gz
gnu: Add fcgi.
* gnu/packages/patches/fcgi-2.4.0-gcc44-fixes.patch: New file.
* gnu/packages/patches/fcgi-2.4.0-poll.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register patches.
* gnu/packages/web.scm (fcgi): New variable.
Diffstat (limited to 'gnu/packages/patches/fcgi-2.4.0-gcc44-fixes.patch')
-rw-r--r--gnu/packages/patches/fcgi-2.4.0-gcc44-fixes.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/patches/fcgi-2.4.0-gcc44-fixes.patch b/gnu/packages/patches/fcgi-2.4.0-gcc44-fixes.patch
new file mode 100644
index 0000000000..0f921b120b
--- /dev/null
+++ b/gnu/packages/patches/fcgi-2.4.0-gcc44-fixes.patch
@@ -0,0 +1,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;