summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-12-17 21:58:29 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-12-17 21:58:29 +0000
commit50064a657a276d2850adda2ae6b6d4caf7e340cc (patch)
treed95c5136bc80a97bc47db1385d108818eac221cf /dev-cpp
parentx86 stable, bug #244022 (diff)
downloadhistorical-50064a657a276d2850adda2ae6b6d4caf7e340cc.tar.gz
historical-50064a657a276d2850adda2ae6b6d4caf7e340cc.tar.bz2
historical-50064a657a276d2850adda2ae6b6d4caf7e340cc.zip
Fix bug 227475. Thanks to bonsaikitten, aka DrEevil, aka Evil Compile Person for reporting and Daniel Beßler <daniel@orgizm.net> for the patch.
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.28-rc6 x86_64
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/Ice/ChangeLog7
-rw-r--r--dev-cpp/Ice/Ice-3.2.1.ebuild5
-rw-r--r--dev-cpp/Ice/Manifest5
-rw-r--r--dev-cpp/Ice/files/Ice-3.2.1-gcc43.patch275
4 files changed, 287 insertions, 5 deletions
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 <loki_val@gentoo.org>
+ +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 <daniel@orgizm.net> 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/Manifest b/dev-cpp/Ice/Manifest
index 0d9d00af1683..c0e8b237d100 100644
--- a/dev-cpp/Ice/Manifest
+++ b/dev-cpp/Ice/Manifest
@@ -1,5 +1,6 @@
AUX Ice-3.2.0-Makefile.patch 4072 RMD160 40098fa6142aba0f08b72d1ab2f50426d3c0e1ed SHA1 2e63175980d2b1ee420a37a36e9b8c570285967b SHA256 78b8c20f7491749c7ff3806d6130110c4d7145ed3c17699792910b877783e1d1
AUX Ice-3.2.1-Makefile.patch 4072 RMD160 40098fa6142aba0f08b72d1ab2f50426d3c0e1ed SHA1 2e63175980d2b1ee420a37a36e9b8c570285967b SHA256 78b8c20f7491749c7ff3806d6130110c4d7145ed3c17699792910b877783e1d1
+AUX Ice-3.2.1-gcc43.patch 10027 RMD160 0f0e44eae6eee673628094c7f924e2128f38814c SHA1 31a60a37e50f4d440589e6278f7f29839df5ecf7 SHA256 b86df9b5fa6bc2c15b1479cbec33040fee67551fbf1086e0e697820d18f9b60c
AUX Ice-3.3.0-Makefile.patch 2494 RMD160 e9872d64c716d21865ca6282293e95325d5a6363 SHA1 5dda2d42446647aa2b6411acb0213b759f6deaea SHA256 1fa17c02f5d32aa719995d283fc08bfe9b97b5cb4b7628e8463813f367aba525
AUX Ice-3.3.0-p1.patch 1303 RMD160 a77a613ff40d7c8dd5e9a896177e358b760f0c85 SHA1 2acc699c1f1a10f4263b6895d2fe7dc570ce9b1f SHA256 c4d386772f81d11459b85a890929e6f6298e961ca4b21d6b12d1a46cca9a34ab
AUX Ice-3.3.0-p3.patch 783 RMD160 e878bead8107b8018c0195b4eadd4e22fdad3671 SHA1 e18927cc44489ae60e759a81940e849b39f9ec48 SHA256 538a83e87a4f38190367d4ff57de5ecae8f2bd31295b59be6d0675d987da40bc
@@ -12,8 +13,8 @@ DIST Ice-3.2.0.tar.gz 2060037 RMD160 b11fc5718f4c86b349bf0ddc15d7cf402720a013 SH
DIST Ice-3.2.1.tar.gz 2090576 RMD160 c3394486ba13e94c2491b0dc48dc19c3e7565ecd SHA1 69fc7dbdff81d7d9300b57f6e495914f3c9e5c19 SHA256 bd24cfe0296d81e2b04ea8d97b32a4f13fdd949d0f038f4c7e0922b395075149
DIST Ice-3.3.0.tar.gz 4260675 RMD160 e85b37c93f12d9ae97c6b7b2f64f506fa051e4f8 SHA1 b599c3a4d1d3006b868bf2cbcd8e2a2d4575fb22 SHA256 73330e29799d08605d51b9fc148fdc11eb01b6c55b7e4bf4dcb8fafd98ba7749
EBUILD Ice-3.2.0.ebuild 1597 RMD160 592d5fad927ded4bbef30b6f6a0ad57d2d430357 SHA1 d02550c064d88063f35fe5d54869c60ae9c06393 SHA256 f2e8c96032a6b39095ef67c9fb82b40ee465b584861dfa307d34c45dc1f853f0
-EBUILD Ice-3.2.1.ebuild 1609 RMD160 b258a9d434fec08faaea2c357a1625eba76f737d SHA1 d25b901dc258aa2a3af071b9e8a8c68760f043b2 SHA256 46d997436e8c456f5f62b8d76024de51d25e0761ff841fee531ccd352cdcc7eb
+EBUILD Ice-3.2.1.ebuild 1649 RMD160 bbc3e8ff9eed455dffb0b9a0280e56062b289f29 SHA1 551f237707c0f331b306c8341a047365d6fb882c SHA256 246fe46cce54d0e6ed91b2143ffa1a5507b01781fef6411beb9346e81c6fdef7
EBUILD Ice-3.3.0-r1.ebuild 2011 RMD160 e6e20e6eb6c3268ee1c919592a62fbd343d63da0 SHA1 1f7d9d63e831391c80bd783db66661c0a5320d01 SHA256 42edc86593cac12449796e1385bf14d352ed2306232071af14880e02ca7a44a8
EBUILD Ice-3.3.0.ebuild 1756 RMD160 623fad284cbbe3b5ecdd9b0e408024050b74ec14 SHA1 6b9c0991ab7f4594b1be388b4283014312f9f5ba SHA256 33dff9cf250d7f4f19bb5519751cbd3498b9a3b747a1af11566cff07daee8448
-MISC ChangeLog 5125 RMD160 00e0eecd8677ecc9fcab0bef1af14469c4d6ab7f SHA1 ffd55afa679a813f14d48c604a3bd19a52843d6a SHA256 03b31e1e0951f75f5a24e315c62ed7eb9a611ae4574b0a992ad3dfdf9ab905a8
+MISC ChangeLog 5381 RMD160 0a495a833a49b2f2b8a1fe18f5dac6b1a057cafe SHA1 17f51a554f0ffa0d310db736a1a774a8aa9e7b7f SHA256 badd4ca19637e26da71c6d2617155235fc4d37d974bc0037a069343318b243d8
MISC metadata.xml 339 RMD160 f92a68fdab5aad40e9c173ebd1ed26b5963acf9f SHA1 3dfd85c450884b0fb534b7d54cfb6837dfa5c764 SHA256 dec27f6d803819a7791826c1a98a83a1c21a23df0a3384234ac68abf8b8466a3
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 <Ice/ReferenceF.h>
+ #include <Ice/BasicStream.h>
+ #include <Ice/Current.h>
++#include <memory>
+
+ 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 <FreezeScript/AssignVisitor.h>
+ #include <FreezeScript/Util.h>
++#include <climits>
+
+ 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 <FreezeScript/Util.h>
+ #include <FreezeScript/Exception.h>
+ #include <IceUtil/InputUtil.h>
++#include <climits>
+
+ 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 <FreezeScript/Util.h>
+ #include <db_cxx.h>
+ #include <set>
++#include <climits>
+
+ 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 <Freeze/Initialize.h>
+ #include <IceXML/Parser.h>
+ #include <db_cxx.h>
++#include <climits>
+
+ 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 <Ice/TraceLevelsF.h>
+ #include <Ice/OutgoingAsyncF.h>
+ #include <Ice/EventHandler.h>
++#include <memory>
+
+ 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 <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
++#include <climits>
+
+ #ifndef _WIN32
+ # include <sys/wait.h>
+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 <IceGrid/TraceLevels.h>
+
+ #include <IcePatch2/Util.h>
++#include <climits>
+
+ #if defined(_WIN32)
+ # include <direct.h> // 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 <IceUtil/DisableWarnings.h>
+ #include <OS.h>
+ #include <IceUtil/Unicode.h>
++#include <climits>
+
+ #ifdef __BCPLUSPLUS__
+ # include <dir.h>
+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 <IceUtil/ArgVector.h>
+ #include <IceUtil/DisableWarnings.h>
++#include <cstring>
+
+ 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 <IceUtil/MD5.h>
+ #include <IceUtil/MD5I.h>
++#include <cstring>
+
+ 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 <IceUtil/OutputUtil.h>
++#include <cstring>
+
+ 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 <IceUtil/Random.h>
+ #include <IceUtil/StaticMutex.h>
++#include <cstring>
+
+ #ifdef _WIN32
+ # include <Wincrypt.h>
+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 <IceUtil/ThreadException.h>
++#include <cstring>
+
+ 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 <Slice/CPlusPlusUtil.h>
++#include <cstring>
+
+ 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 <Slice/DotNetNames.h>
+ #include <ctype.h>
++#include <cstring>
+
+ 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 <Slice/GrammarUtil.h>
+ #include <IceUtil/UUID.h>
++#include <cstring>
+
+ #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 <Slice/GrammarUtil.h>
+ #include <IceUtil/UUID.h>
++#include <cstring>
+
+ #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 <IceUtil/Functional.h>
+ #include <Slice/Parser.h>
+ #include <Slice/GrammarUtil.h>
++#include <cstring>
+ #ifdef __BCPLUSPLUS__
+ # include <iterator>
+ #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 <IceUtil/StringUtil.h>
+ #include <algorithm>
+ #include <fstream>
++#include <cstring>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+
+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 <iterator>
+ #endif
++#include <climits>
+
+ 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 <IceUtil/DisableWarnings.h>
+ #include <IceUtil/Functional.h>
+ #include <Gen.h>
++#include <cstring>
+
+ #ifdef __BCPLUSPLUS__
+ # include <iterator>
+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 <Slice/Preprocessor.h>
+ #include <Slice/CPlusPlusUtil.h>
+ #include <IceUtil/OutputUtil.h>
++#include <cstring>
+
+ 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 <IceUtil/Iterator.h>
+
+ #include <limits>
++#include <cstring>
+
+ 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 <Slice/PythonUtil.h>
+
+ #include <fstream>
++#include <cstring>
+
+ #include <sys/types.h>
+ #include <sys/stat.h>