summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2009-04-18 12:32:48 +0000
committerHans de Graaff <graaff@gentoo.org>2009-04-18 12:32:48 +0000
commit750e5844f727910724c25fcb46f39f50974d76fd (patch)
treeb003d1ce061ccfee7939c2da87a1184b97c66a83 /dev-libs/fcgi
parentamd64/x86 stable, bug #260484 (diff)
downloadgentoo-2-750e5844f727910724c25fcb46f39f50974d76fd.tar.gz
gentoo-2-750e5844f727910724c25fcb46f39f50974d76fd.tar.bz2
gentoo-2-750e5844f727910724c25fcb46f39f50974d76fd.zip
Add patch for GCC 4.4 compatibility.
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/fcgi')
-rw-r--r--dev-libs/fcgi/ChangeLog10
-rw-r--r--dev-libs/fcgi/fcgi-2.4.1_pre0311112127.ebuild5
-rw-r--r--dev-libs/fcgi/files/fcgi-2.4.1_pre0311112127-gcc44.patch10
3 files changed, 21 insertions, 4 deletions
diff --git a/dev-libs/fcgi/ChangeLog b/dev-libs/fcgi/ChangeLog
index 6545bced4bd9..da358b66efea 100644
--- a/dev-libs/fcgi/ChangeLog
+++ b/dev-libs/fcgi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/fcgi
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/fcgi/ChangeLog,v 1.38 2008/12/08 21:24:47 graaff Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/fcgi/ChangeLog,v 1.39 2009/04/18 12:32:48 graaff Exp $
+
+ 18 Apr 2009; Hans de Graaff <graaff@gentoo.org>
+ +files/fcgi-2.4.1_pre0311112127-gcc44.patch,
+ fcgi-2.4.1_pre0311112127.ebuild:
+ Fix GCC 4.4 compilation. Thanks to Daniel J for the patch and Ryan Hill for
+ testing in bug #256654.
*fcgi-2.4.1_pre0311112127 (08 Dec 2008)
diff --git a/dev-libs/fcgi/fcgi-2.4.1_pre0311112127.ebuild b/dev-libs/fcgi/fcgi-2.4.1_pre0311112127.ebuild
index 1aecbf633924..56dcc6fe0626 100644
--- a/dev-libs/fcgi/fcgi-2.4.1_pre0311112127.ebuild
+++ b/dev-libs/fcgi/fcgi-2.4.1_pre0311112127.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/fcgi/fcgi-2.4.1_pre0311112127.ebuild,v 1.1 2008/12/08 21:24:47 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/fcgi/fcgi-2.4.1_pre0311112127.ebuild,v 1.2 2009/04/18 12:32:48 graaff Exp $
inherit eutils autotools multilib
@@ -25,6 +25,7 @@ src_unpack() {
epatch "${FILESDIR}/fcgi-2.4.0-Makefile.patch"
epatch "${FILESDIR}/fcgi-2.4.0-clientdata-pointer.patch"
epatch "${FILESDIR}/fcgi-2.4.0-html-updates.patch"
+ epatch "${FILESDIR}"/${P}-gcc44.patch
eautoreconf
}
diff --git a/dev-libs/fcgi/files/fcgi-2.4.1_pre0311112127-gcc44.patch b/dev-libs/fcgi/files/fcgi-2.4.1_pre0311112127-gcc44.patch
new file mode 100644
index 000000000000..a0b59f766a89
--- /dev/null
+++ b/dev-libs/fcgi/files/fcgi-2.4.1_pre0311112127-gcc44.patch
@@ -0,0 +1,10 @@
+--- fcgi-2.4.1-SNAP-0311112127-orig/include/fcgio.h
++++ fcgi-2.4.1-SNAP-0311112127/include/fcgio.h
+@@ -31,6 +31,7 @@
+ #define FCGIO_H
+
+ #include <iostream>
++#include <cstdio>
+
+ #include "fcgiapp.h"
+