summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-06-06 14:50:37 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-06-06 14:50:37 +0000
commit3af883b057b1295c830d9a7a1679896db2aa69bc (patch)
treec9b06fb345a7870d5ae214d874cb76aea9969e72 /dev-libs
parentRemove old, migrate 0.11 to eapi-2 with use deps, check for X useflag in PyQt... (diff)
downloadgentoo-2-3af883b057b1295c830d9a7a1679896db2aa69bc.tar.gz
gentoo-2-3af883b057b1295c830d9a7a1679896db2aa69bc.tar.bz2
gentoo-2-3af883b057b1295c830d9a7a1679896db2aa69bc.zip
Fix compile with GCC 4.4 wrt #269751, thanks to Peter Alfredsen and Victor Ostorga.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/poco/ChangeLog9
-rw-r--r--dev-libs/poco/files/1.3.3_p1-gcc44.patch16
-rw-r--r--dev-libs/poco/poco-1.3.3_p1.ebuild9
3 files changed, 28 insertions, 6 deletions
diff --git a/dev-libs/poco/ChangeLog b/dev-libs/poco/ChangeLog
index 9c682f83a458..f4e38d613cf7 100644
--- a/dev-libs/poco/ChangeLog
+++ b/dev-libs/poco/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/poco
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/poco/ChangeLog,v 1.5 2008/11/23 10:27:19 dev-zero Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/poco/ChangeLog,v 1.6 2009/06/06 14:50:37 ssuominen Exp $
+
+ 06 Jun 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +files/1.3.3_p1-gcc44.patch, poco-1.3.3_p1.ebuild:
+ Fix compile with GCC 4.4 wrt #269751, thanks to Peter Alfredsen and Victor
+ Ostorga.
*poco-1.3.3_p1 (23 Nov 2008)
diff --git a/dev-libs/poco/files/1.3.3_p1-gcc44.patch b/dev-libs/poco/files/1.3.3_p1-gcc44.patch
new file mode 100644
index 000000000000..990aff1c4b61
--- /dev/null
+++ b/dev-libs/poco/files/1.3.3_p1-gcc44.patch
@@ -0,0 +1,16 @@
+diff -NrU5 poco-1.3.3p1-all.orig/Foundation/src/Environment.cpp poco-1.3.3p1-all/Foundation/src/Environment.cpp
+--- poco-1.3.3p1-all.orig/Foundation/src/Environment.cpp 2009-05-15 20:44:37.000000000 -0600
++++ poco-1.3.3p1-all/Foundation/src/Environment.cpp 2009-05-15 20:46:12.000000000 -0600
+@@ -34,11 +34,11 @@
+ //
+
+
+ #include "Poco/Environment.h"
+ #include <cstdlib>
+-
++#include <cstdio>
+
+ #if defined(POCO_OS_FAMILY_VMS)
+ #include "Environment_VMS.cpp"
+ #elif defined(POCO_OS_FAMILY_UNIX)
+ #include "Environment_UNIX.cpp"
diff --git a/dev-libs/poco/poco-1.3.3_p1.ebuild b/dev-libs/poco/poco-1.3.3_p1.ebuild
index d729d7511b49..cd81960501a7 100644
--- a/dev-libs/poco/poco-1.3.3_p1.ebuild
+++ b/dev-libs/poco/poco-1.3.3_p1.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/poco/poco-1.3.3_p1.ebuild,v 1.1 2008/11/23 10:27:19 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/poco/poco-1.3.3_p1.ebuild,v 1.2 2009/06/06 14:50:37 ssuominen Exp $
EAPI="2"
@@ -32,8 +32,9 @@ S="${WORKDIR}/${MY_P}-all"
src_prepare() {
epatch \
- "${FILESDIR}/${PV}-gentoo.patch" \
- "${FILESDIR}/${PV}-unbundle_libs.patch"
+ "${FILESDIR}"/${PV}-gentoo.patch \
+ "${FILESDIR}"/${PV}-unbundle_libs.patch \
+ "${FILESDIR}"/${PV}-gcc44.patch
}
src_configure() {