From c9120890fdd01d3a863c55302af108da04873caf Mon Sep 17 00:00:00 2001 From: Peter Alfredsen Date: Wed, 17 Dec 2008 21:58:29 +0000 Subject: Fix bug 227475. Thanks to bonsaikitten, aka DrEevil, aka Evil Compile Person for reporting and Daniel Beßler for the patch. (Portage version: 2.2_rc17/cvs/Linux 2.6.28-rc6 x86_64) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev-cpp/Ice/ChangeLog | 7 +- dev-cpp/Ice/Ice-3.2.1.ebuild | 5 +- dev-cpp/Ice/files/Ice-3.2.1-gcc43.patch | 275 ++++++++++++++++++++++++++++++++ 3 files changed, 284 insertions(+), 3 deletions(-) create mode 100644 dev-cpp/Ice/files/Ice-3.2.1-gcc43.patch (limited to 'dev-cpp/Ice') diff --git a/dev-cpp/Ice/ChangeLog b/dev-cpp/Ice/ChangeLog index e3888c80d642..00c44fdea3b0 100644 --- a/dev-cpp/Ice/ChangeLog +++ b/dev-cpp/Ice/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-cpp/Ice # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/Ice/ChangeLog,v 1.17 2008/11/11 14:56:33 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/Ice/ChangeLog,v 1.18 2008/12/17 21:58:29 loki_val Exp $ + + 17 Dec 2008; Peter Alfredsen + +files/Ice-3.2.1-gcc43.patch, Ice-3.2.1.ebuild: + Fix bug 227475. Thanks to bonsaikitten, aka DrEevil, aka Evil Compile + Person for reporting and Daniel Beßler for the patch. *Ice-3.3.0-r1 (11 Nov 2008) diff --git a/dev-cpp/Ice/Ice-3.2.1.ebuild b/dev-cpp/Ice/Ice-3.2.1.ebuild index 703e613ff073..d38302288e3d 100644 --- a/dev-cpp/Ice/Ice-3.2.1.ebuild +++ b/dev-cpp/Ice/Ice-3.2.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/Ice/Ice-3.2.1.ebuild,v 1.4 2007/09/25 19:41:02 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/Ice/Ice-3.2.1.ebuild,v 1.5 2008/12/17 21:58:29 loki_val Exp $ inherit eutils @@ -35,6 +35,7 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}"/${P}-Makefile.patch + epatch "${FILESDIR}"/${P}-gcc43.patch MAKE_RULES="${S}/config/Make.rules" diff --git a/dev-cpp/Ice/files/Ice-3.2.1-gcc43.patch b/dev-cpp/Ice/files/Ice-3.2.1-gcc43.patch new file mode 100644 index 000000000000..fc1488b1e2db --- /dev/null +++ b/dev-cpp/Ice/files/Ice-3.2.1-gcc43.patch @@ -0,0 +1,275 @@ +diff -ur Ice-3.2.1.orig/include/Ice/Outgoing.h Ice-3.2.1/include/Ice/Outgoing.h +--- Ice-3.2.1.orig/include/Ice/Outgoing.h 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/include/Ice/Outgoing.h 2008-02-22 15:24:56.000000000 +0100 +@@ -16,6 +16,7 @@ + #include + #include + #include ++#include + + namespace Ice + { +diff -ur Ice-3.2.1.orig/src/FreezeScript/AssignVisitor.cpp Ice-3.2.1/src/FreezeScript/AssignVisitor.cpp +--- Ice-3.2.1.orig/src/FreezeScript/AssignVisitor.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/FreezeScript/AssignVisitor.cpp 2008-02-22 15:26:34.000000000 +0100 +@@ -9,6 +9,7 @@ + + #include + #include ++#include + + using namespace std; + +diff -ur Ice-3.2.1.orig/src/FreezeScript/Data.cpp Ice-3.2.1/src/FreezeScript/Data.cpp +--- Ice-3.2.1.orig/src/FreezeScript/Data.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/FreezeScript/Data.cpp 2008-02-22 15:26:21.000000000 +0100 +@@ -12,6 +12,7 @@ + #include + #include + #include ++#include + + using namespace std; + using namespace IceUtil; +diff -ur Ice-3.2.1.orig/src/FreezeScript/DumpDescriptors.cpp Ice-3.2.1/src/FreezeScript/DumpDescriptors.cpp +--- Ice-3.2.1.orig/src/FreezeScript/DumpDescriptors.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/FreezeScript/DumpDescriptors.cpp 2008-02-22 15:26:26.000000000 +0100 +@@ -15,6 +15,7 @@ + #include + #include + #include ++#include + + using namespace std; + +diff -ur Ice-3.2.1.orig/src/FreezeScript/Transformer.cpp Ice-3.2.1/src/FreezeScript/Transformer.cpp +--- Ice-3.2.1.orig/src/FreezeScript/Transformer.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/FreezeScript/Transformer.cpp 2008-02-22 15:26:16.000000000 +0100 +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + + using namespace std; + +diff -ur Ice-3.2.1.orig/src/Ice/ConnectionI.h Ice-3.2.1/src/Ice/ConnectionI.h +--- Ice-3.2.1.orig/src/Ice/ConnectionI.h 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/Ice/ConnectionI.h 2008-02-22 15:24:56.000000000 +0100 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + + namespace IceInternal + { +diff -ur Ice-3.2.1.orig/src/IceGrid/Activator.cpp Ice-3.2.1/src/IceGrid/Activator.cpp +--- Ice-3.2.1.orig/src/IceGrid/Activator.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/IceGrid/Activator.cpp 2008-02-22 15:27:13.000000000 +0100 +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + + #ifndef _WIN32 + # include +diff -ur Ice-3.2.1.orig/src/IceGrid/PlatformInfo.cpp Ice-3.2.1/src/IceGrid/PlatformInfo.cpp +--- Ice-3.2.1.orig/src/IceGrid/PlatformInfo.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/IceGrid/PlatformInfo.cpp 2008-02-22 15:27:05.000000000 +0100 +@@ -17,6 +17,7 @@ + #include + + #include ++#include + + #if defined(_WIN32) + # include // For _getcwd +diff -ur Ice-3.2.1.orig/src/IcePatch2/OS.cpp Ice-3.2.1/src/IcePatch2/OS.cpp +--- Ice-3.2.1.orig/src/IcePatch2/OS.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/IcePatch2/OS.cpp 2008-02-22 15:26:56.000000000 +0100 +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + + #ifdef __BCPLUSPLUS__ + # include +diff -ur Ice-3.2.1.orig/src/IceUtil/ArgVector.cpp Ice-3.2.1/src/IceUtil/ArgVector.cpp +--- Ice-3.2.1.orig/src/IceUtil/ArgVector.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/IceUtil/ArgVector.cpp 2008-02-22 15:24:56.000000000 +0100 +@@ -9,6 +9,7 @@ + + #include + #include ++#include + + IceUtil::ArgVector::ArgVector(int argc, char *argv[]) + { +diff -ur Ice-3.2.1.orig/src/IceUtil/MD5.cpp Ice-3.2.1/src/IceUtil/MD5.cpp +--- Ice-3.2.1.orig/src/IceUtil/MD5.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/IceUtil/MD5.cpp 2008-02-22 15:24:56.000000000 +0100 +@@ -9,6 +9,7 @@ + + #include + #include ++#include + + using namespace std; + +diff -ur Ice-3.2.1.orig/src/IceUtil/OutputUtil.cpp Ice-3.2.1/src/IceUtil/OutputUtil.cpp +--- Ice-3.2.1.orig/src/IceUtil/OutputUtil.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/IceUtil/OutputUtil.cpp 2008-02-22 15:24:56.000000000 +0100 +@@ -8,6 +8,7 @@ + // ********************************************************************** + + #include ++#include + + using namespace std; + using namespace IceUtil; +diff -ur Ice-3.2.1.orig/src/IceUtil/Random.cpp Ice-3.2.1/src/IceUtil/Random.cpp +--- Ice-3.2.1.orig/src/IceUtil/Random.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/IceUtil/Random.cpp 2008-02-22 15:24:56.000000000 +0100 +@@ -9,6 +9,7 @@ + + #include + #include ++#include + + #ifdef _WIN32 + # include +diff -ur Ice-3.2.1.orig/src/IceUtil/ThreadException.cpp Ice-3.2.1/src/IceUtil/ThreadException.cpp +--- Ice-3.2.1.orig/src/IceUtil/ThreadException.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/IceUtil/ThreadException.cpp 2008-02-22 15:24:56.000000000 +0100 +@@ -8,6 +8,7 @@ + // ********************************************************************** + + #include ++#include + + using namespace std; + +diff -ur Ice-3.2.1.orig/src/Slice/CPlusPlusUtil.cpp Ice-3.2.1/src/Slice/CPlusPlusUtil.cpp +--- Ice-3.2.1.orig/src/Slice/CPlusPlusUtil.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/Slice/CPlusPlusUtil.cpp 2008-02-22 15:24:56.000000000 +0100 +@@ -8,6 +8,7 @@ + // ********************************************************************** + + #include ++#include + + using namespace std; + using namespace Slice; +diff -ur Ice-3.2.1.orig/src/Slice/DotNetNames.cpp Ice-3.2.1/src/Slice/DotNetNames.cpp +--- Ice-3.2.1.orig/src/Slice/DotNetNames.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/Slice/DotNetNames.cpp 2008-02-22 15:24:56.000000000 +0100 +@@ -9,6 +9,7 @@ + + #include + #include ++#include + + using namespace std; + +diff -ur Ice-3.2.1.orig/src/Slice/Grammar.cpp Ice-3.2.1/src/Slice/Grammar.cpp +--- Ice-3.2.1.orig/src/Slice/Grammar.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/Slice/Grammar.cpp 2008-02-22 15:24:56.000000000 +0100 +@@ -165,6 +165,7 @@ + + #include + #include ++#include + + #ifdef _MSC_VER + // I get these warnings from some bison versions: +diff -ur Ice-3.2.1.orig/src/Slice/Grammar.y Ice-3.2.1/src/Slice/Grammar.y +--- Ice-3.2.1.orig/src/Slice/Grammar.y 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/Slice/Grammar.y 2008-02-22 15:24:56.000000000 +0100 +@@ -11,6 +11,7 @@ + + #include + #include ++#include + + #ifdef _MSC_VER + // I get these warnings from some bison versions: +diff -ur Ice-3.2.1.orig/src/Slice/Parser.cpp Ice-3.2.1/src/Slice/Parser.cpp +--- Ice-3.2.1.orig/src/Slice/Parser.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/Slice/Parser.cpp 2008-02-22 15:24:56.000000000 +0100 +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + #ifdef __BCPLUSPLUS__ + # include + #endif +diff -ur Ice-3.2.1.orig/src/Slice/Preprocessor.cpp Ice-3.2.1/src/Slice/Preprocessor.cpp +--- Ice-3.2.1.orig/src/Slice/Preprocessor.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/Slice/Preprocessor.cpp 2008-02-22 15:24:56.000000000 +0100 +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + #include + #include + +diff -ur Ice-3.2.1.orig/src/Slice/PythonUtil.cpp Ice-3.2.1/src/Slice/PythonUtil.cpp +--- Ice-3.2.1.orig/src/Slice/PythonUtil.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/Slice/PythonUtil.cpp 2008-02-22 15:25:32.000000000 +0100 +@@ -13,6 +13,7 @@ + #ifdef __BCPLUSPLUS__ + # include + #endif ++#include + + using namespace std; + using namespace Slice; +diff -ur Ice-3.2.1.orig/src/slice2docbook/Gen.cpp Ice-3.2.1/src/slice2docbook/Gen.cpp +--- Ice-3.2.1.orig/src/slice2docbook/Gen.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/slice2docbook/Gen.cpp 2008-02-22 15:24:56.000000000 +0100 +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + + #ifdef __BCPLUSPLUS__ + # include +diff -ur Ice-3.2.1.orig/src/slice2freeze/Main.cpp Ice-3.2.1/src/slice2freeze/Main.cpp +--- Ice-3.2.1.orig/src/slice2freeze/Main.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/slice2freeze/Main.cpp 2008-02-22 15:24:56.000000000 +0100 +@@ -12,6 +12,7 @@ + #include + #include + #include ++#include + + using namespace std; + using namespace IceUtil; +diff -ur Ice-3.2.1.orig/src/slice2java/Gen.cpp Ice-3.2.1/src/slice2java/Gen.cpp +--- Ice-3.2.1.orig/src/slice2java/Gen.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/slice2java/Gen.cpp 2008-02-22 15:24:56.000000000 +0100 +@@ -15,6 +15,7 @@ + #include + + #include ++#include + + using namespace std; + using namespace Slice; +diff -ur Ice-3.2.1.orig/src/slice2py/Main.cpp Ice-3.2.1/src/slice2py/Main.cpp +--- Ice-3.2.1.orig/src/slice2py/Main.cpp 2008-02-22 15:24:43.000000000 +0100 ++++ Ice-3.2.1/src/slice2py/Main.cpp 2008-02-22 15:24:56.000000000 +0100 +@@ -13,6 +13,7 @@ + #include + + #include ++#include + + #include + #include -- cgit v1.2.3-65-gdbad