rpms/ice/devel Ice-3.2.1-gcc43.patch, NONE, 1.1 ice.spec, 1.10, 1.11 Ice-3.2.1-add-includes.patch, 1.1, NONE IcePHP-3.2.1-add-includes.patch, 1.1, NONE

Mary Ellen Foster (mef) fedora-extras-commits at redhat.com
Fri Feb 22 14:53:44 UTC 2008


Author: mef

Update of /cvs/pkgs/rpms/ice/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19072

Modified Files:
	ice.spec 
Added Files:
	Ice-3.2.1-gcc43.patch 
Removed Files:
	Ice-3.2.1-add-includes.patch IcePHP-3.2.1-add-includes.patch 
Log Message:
Better, less invasive patch


Ice-3.2.1-gcc43.patch:

--- NEW FILE Ice-3.2.1-gcc43.patch ---
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>


Index: ice.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ice/devel/ice.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ice.spec	22 Feb 2008 14:08:41 -0000	1.10
+++ ice.spec	22 Feb 2008 14:53:11 -0000	1.11
@@ -10,7 +10,7 @@
 
 Name: ice
 Version: 3.2.1
-Release: 16%{?dist}
+Release: 17%{?dist}
 Summary: The Ice base runtime and services
 
 Group: System Environment/Libraries
@@ -42,8 +42,9 @@
 Patch12:        http://www.zeroc.com/forums/attachments/patches/534d1192152933-patch-4-ice-3-2-1-fix-slice2cs-ice-3.2.1-patch4.txt
 Patch13:        Ice-3.2.1-template-path.patch
 Patch14:        http://www.zeroc.com/forums/attachments/patches/541d1194844106-1-attachment-s-patch-5-ice-3-2-1-fix-slice2cs-ice-3.2.1-patch5.txt
-Patch15:        Ice-3.2.1-add-includes.patch
-Patch16:        IcePHP-3.2.1-add-includes.patch
+# Based on the Debian patch by Francisco Moya at 
+# http://www.zeroc.com/forums/patches/3504-ice-c-missing-includes.html
+Patch15:        Ice-3.2.1-gcc43.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # Ice doesn't officially support this architecture at all
@@ -221,8 +222,6 @@
 %endif
 
 %setup -q -n IcePHP-%{version} -T -b 3
-%patch16 -p1
-
 %setup -q -n IcePy-%{version} -T -b 4
 %setup -q -n IceRuby-%{version} -T -b 5
 %setup -q -n IceCS-%{version} -T -b 6
@@ -604,6 +603,9 @@
 %config(noreplace) %{_sysconfdir}/php.d/ice.ini
 
 %changelog
+* Fri Feb 22 2008 Mary Ellen Foster <mefoster at gmail.com> 3.2.1-17
+- Improved, less invasive patch based on the Debian one
+
 * Fri Feb 22 2008 Mary Ellen Foster <mefoster at gmail.com> 3.2.1-16
 - Add includes so that it compiles with GCC 4.3
 


--- Ice-3.2.1-add-includes.patch DELETED ---


--- IcePHP-3.2.1-add-includes.patch DELETED ---




More information about the fedora-extras-commits mailing list