updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / openwbem / gcc4.4.patch
blob5edce27852d93e78075b790c8a072dfdbcd2e42e
1 diff -aur openwbem-3.2.2.orig/configure openwbem-3.2.2.new/configure
2 --- openwbem-3.2.2.orig/configure 2006-10-20 01:08:04.000000000 +0200
3 +++ openwbem-3.2.2.new/configure 2009-08-15 17:52:06.000000000 +0200
4 @@ -6711,8 +6711,7 @@
5 ostream.h \
6 istream \
7 istream.h \
8 -hash_map \
9 -ext/hash_map \
10 +backward/hash_map \
11 cxxabi.h \
14 diff -aur openwbem-3.2.2.orig/src/cim/OW_CIMDateTime.cpp openwbem-3.2.2.new/src/cim/OW_CIMDateTime.cpp
15 --- openwbem-3.2.2.orig/src/cim/OW_CIMDateTime.cpp 2005-02-03 01:52:41.000000000 +0100
16 +++ openwbem-3.2.2.new/src/cim/OW_CIMDateTime.cpp 2009-08-15 16:02:25.000000000 +0200
17 @@ -50,6 +50,8 @@
18 #else
19 #include <iostream>
20 #endif
21 +#include <cstring>
22 +#include <cstdlib>
24 namespace OW_NAMESPACE
26 diff -aur openwbem-3.2.2.orig/src/cimom/server/OW_Platform.cpp openwbem-3.2.2.new/src/cimom/server/OW_Platform.cpp
27 --- openwbem-3.2.2.orig/src/cimom/server/OW_Platform.cpp 2005-05-12 18:12:37.000000000 +0200
28 +++ openwbem-3.2.2.new/src/cimom/server/OW_Platform.cpp 2009-08-15 19:39:16.000000000 +0200
29 @@ -34,6 +34,7 @@
30 * @author Bart Whiteley
33 +#include <cstdlib>
34 #include "OW_config.h"
35 #include "OW_Platform.hpp"
36 #include "OW_ConfigOpts.hpp"
37 diff -aur openwbem-3.2.2.orig/src/cimom/server/OW_PlatformSignal.cpp openwbem-3.2.2.new/src/cimom/server/OW_PlatformSignal.cpp
38 --- openwbem-3.2.2.orig/src/cimom/server/OW_PlatformSignal.cpp 2005-03-22 03:20:00.000000000 +0100
39 +++ openwbem-3.2.2.new/src/cimom/server/OW_PlatformSignal.cpp 2009-08-15 19:49:50.000000000 +0200
40 @@ -35,6 +35,7 @@
41 #include "OW_Platform.hpp"
42 #include "OW_PlatformSignal.hpp"
43 #include "OW_UserUtils.hpp"
44 +#include <cstring>
45 #include <ostream>
47 namespace OW_NAMESPACE
48 diff -aur openwbem-3.2.2.orig/src/common/OW_BaseStreamBuffer.cpp openwbem-3.2.2.new/src/common/OW_BaseStreamBuffer.cpp
49 --- openwbem-3.2.2.orig/src/common/OW_BaseStreamBuffer.cpp 2005-02-03 01:52:44.000000000 +0100
50 +++ openwbem-3.2.2.new/src/common/OW_BaseStreamBuffer.cpp 2009-08-15 16:04:58.000000000 +0200
51 @@ -40,6 +40,7 @@
52 #include "OW_Assertion.hpp"
53 #include <iostream> // for cerr
54 #include <cstring> // for memcpy
55 +#include <cstdio>
57 namespace OW_NAMESPACE
59 diff -aur openwbem-3.2.2.orig/src/common/OW_Cache.hpp openwbem-3.2.2.new/src/common/OW_Cache.hpp
60 --- openwbem-3.2.2.orig/src/common/OW_Cache.hpp 2005-02-03 01:52:44.000000000 +0100
61 +++ openwbem-3.2.2.new/src/common/OW_Cache.hpp 2009-08-15 17:05:41.000000000 +0200
62 @@ -41,6 +41,7 @@
63 #include "OW_MutexLock.hpp"
64 #include "OW_CIMNULL.hpp"
65 #include <list>
66 +#include <ext/hash_map>
68 // The classes and functions defined in this file are not meant for general
69 // use, they are internal implementation details. They may change at any time.
70 diff -aur openwbem-3.2.2.orig/src/common/OW_DataStreams.hpp openwbem-3.2.2.new/src/common/OW_DataStreams.hpp
71 --- openwbem-3.2.2.orig/src/common/OW_DataStreams.hpp 2005-02-03 01:52:44.000000000 +0100
72 +++ openwbem-3.2.2.new/src/common/OW_DataStreams.hpp 2009-08-15 16:07:25.000000000 +0200
73 @@ -49,6 +49,7 @@
74 #include <streambuf.h>
75 #endif
76 #include <vector>
77 +#include <cstdio>
79 // The classes and functions defined in this file are not meant for general
80 // use, they are internal implementation details. They may change at any time.
81 diff -aur openwbem-3.2.2.orig/src/common/OW_HashMap.hpp openwbem-3.2.2.new/src/common/OW_HashMap.hpp
82 --- openwbem-3.2.2.orig/src/common/OW_HashMap.hpp 2005-02-12 00:00:40.000000000 +0100
83 +++ openwbem-3.2.2.new/src/common/OW_HashMap.hpp 2009-08-15 17:52:34.000000000 +0200
84 @@ -50,6 +50,7 @@
85 #endif
86 #ifndef OW_HASH_SPECIALIZED_INCLUDE_GUARD_
87 #define OW_HASH_SPECIALIZED_INCLUDE_GUARD_
89 #if defined(OW_HAVE_HASH_MAP) || defined(OW_HAVE_EXT_HASH_MAP)
90 #include "OW_String.hpp"
92 diff -aur openwbem-3.2.2.orig/src/common/OW_IstreamBufIterator.hpp openwbem-3.2.2.new/src/common/OW_IstreamBufIterator.hpp
93 --- openwbem-3.2.2.orig/src/common/OW_IstreamBufIterator.hpp 2005-02-03 01:52:44.000000000 +0100
94 +++ openwbem-3.2.2.new/src/common/OW_IstreamBufIterator.hpp 2009-08-15 16:26:38.000000000 +0200
95 @@ -40,7 +40,7 @@
96 #else
97 #include <iostream>
98 #endif
100 +#include <cstdio>
102 namespace OW_NAMESPACE
104 diff -aur openwbem-3.2.2.orig/src/common/OW_LogMessagePatternFormatter.cpp openwbem-3.2.2.new/src/common/OW_LogMessagePatternFormatter.cpp
105 --- openwbem-3.2.2.orig/src/common/OW_LogMessagePatternFormatter.cpp 2005-02-03 01:52:45.000000000 +0100
106 +++ openwbem-3.2.2.new/src/common/OW_LogMessagePatternFormatter.cpp 2009-08-15 16:10:54.000000000 +0200
107 @@ -45,6 +45,7 @@
109 #include <vector>
110 #include <cstdlib> // for strtol
111 +#include <limits.h>
113 extern "C"
115 diff -aur openwbem-3.2.2.orig/src/common/OW_PosixFile.cpp openwbem-3.2.2.new/src/common/OW_PosixFile.cpp
116 --- openwbem-3.2.2.orig/src/common/OW_PosixFile.cpp 2005-02-03 01:52:45.000000000 +0100
117 +++ openwbem-3.2.2.new/src/common/OW_PosixFile.cpp 2009-08-15 16:13:54.000000000 +0200
118 @@ -47,7 +47,7 @@
119 #include <unistd.h>
120 #endif
121 #endif
123 +#include <cstring>
125 namespace OW_NAMESPACE
127 diff -aur openwbem-3.2.2.orig/src/common/OW_StackTrace.cpp openwbem-3.2.2.new/src/common/OW_StackTrace.cpp
128 --- openwbem-3.2.2.orig/src/common/OW_StackTrace.cpp 2005-02-03 01:52:45.000000000 +0100
129 +++ openwbem-3.2.2.new/src/common/OW_StackTrace.cpp 2009-08-15 16:20:12.000000000 +0200
130 @@ -54,6 +54,7 @@
131 #include "OW_Array.hpp"
132 #include <fstream>
133 #include <iostream> // for cerr
134 +#include <cstdlib>
136 #if defined(OW_HAVE_BACKTRACE)
137 #include <execinfo.h>
138 diff -aur openwbem-3.2.2.orig/src/common/OW_StringStream.hpp openwbem-3.2.2.new/src/common/OW_StringStream.hpp
139 --- openwbem-3.2.2.orig/src/common/OW_StringStream.hpp 2005-02-03 01:52:45.000000000 +0100
140 +++ openwbem-3.2.2.new/src/common/OW_StringStream.hpp 2009-08-15 15:49:22.000000000 +0200
141 @@ -49,7 +49,7 @@
142 #else
143 #include <streambuf.h>
144 #endif
146 +#include <cstdio>
147 namespace OW_NAMESPACE
150 diff -aur openwbem-3.2.2.orig/src/common/OW_TempFileStream.cpp openwbem-3.2.2.new/src/common/OW_TempFileStream.cpp
151 --- openwbem-3.2.2.orig/src/common/OW_TempFileStream.cpp 2005-02-03 01:52:45.000000000 +0100
152 +++ openwbem-3.2.2.new/src/common/OW_TempFileStream.cpp 2009-08-15 16:23:04.000000000 +0200
153 @@ -43,6 +43,7 @@
154 #include "OW_TmpFile.hpp"
155 #include "OW_Assertion.hpp"
156 #include <cstring>
157 +#include <cstdio>
159 namespace OW_NAMESPACE
161 diff -aur openwbem-3.2.2.orig/src/mof/OW_MOFCompiler.cpp openwbem-3.2.2.new/src/mof/OW_MOFCompiler.cpp
162 --- openwbem-3.2.2.orig/src/mof/OW_MOFCompiler.cpp 2005-02-11 22:18:31.000000000 +0100
163 +++ openwbem-3.2.2.new/src/mof/OW_MOFCompiler.cpp 2009-08-15 20:08:39.000000000 +0200
164 @@ -32,6 +32,7 @@
165 * @author Dan Nuffer
168 +#include <limits.h>
169 #include "OW_MOFCompiler.hpp"
170 #include "OW_Format.hpp"
171 #include "OW_MOFParserDecls.hpp"
172 diff -aur openwbem-3.2.2.orig/src/providerifcs/cmpi/common/cmpiBrokerEnc.cpp openwbem-3.2.2.new/src/providerifcs/cmpi/common/cmpiBrokerEnc.cpp
173 --- openwbem-3.2.2.orig/src/providerifcs/cmpi/common/cmpiBrokerEnc.cpp 2006-09-12 22:04:17.000000000 +0200
174 +++ openwbem-3.2.2.new/src/providerifcs/cmpi/common/cmpiBrokerEnc.cpp 2009-08-15 19:17:34.000000000 +0200
175 @@ -19,6 +19,7 @@
179 +#include <cstring>
180 #include "cmpisrv.h"
181 #include "OW_CIMException.hpp"
182 #include "OW_CIMProperty.hpp"
183 diff -aur openwbem-3.2.2.orig/src/providerifcs/cmpi/common/cmpiInstance.cpp openwbem-3.2.2.new/src/providerifcs/cmpi/common/cmpiInstance.cpp
184 --- openwbem-3.2.2.orig/src/providerifcs/cmpi/common/cmpiInstance.cpp 2006-09-11 18:38:07.000000000 +0200
185 +++ openwbem-3.2.2.new/src/providerifcs/cmpi/common/cmpiInstance.cpp 2009-08-15 19:23:59.000000000 +0200
186 @@ -19,6 +19,7 @@
190 +#include <cstring>
191 #include "cmpisrv.h"
192 #include "OW_CIMInstance.hpp"
194 diff -aur openwbem-3.2.2.orig/src/providerifcs/npi/OW_FTABLERef.hpp openwbem-3.2.2.new/src/providerifcs/npi/OW_FTABLERef.hpp
195 --- openwbem-3.2.2.orig/src/providerifcs/npi/OW_FTABLERef.hpp 2005-02-03 01:52:52.000000000 +0100
196 +++ openwbem-3.2.2.new/src/providerifcs/npi/OW_FTABLERef.hpp 2009-08-15 19:04:23.000000000 +0200
197 @@ -29,7 +29,7 @@
198 *******************************************************************************/
199 #ifndef OW_FTABLE_REF_HPP_
200 #define OW_FTABLE_REF_HPP_
201 -//#include <string.h>
202 +#include <cstring>
203 #include "OW_config.h"
204 #include "OW_CIMOMHandleIFC.hpp"
205 #include "OW_CIMDataType.hpp"
206 diff -aur openwbem-3.2.2.orig/src/providerifcs/npi/OW_NPIAssociatorProviderProxy.cpp openwbem-3.2.2.new/src/providerifcs/npi/OW_NPIAssociatorProviderProxy.cpp
207 --- openwbem-3.2.2.orig/src/providerifcs/npi/OW_NPIAssociatorProviderProxy.cpp 2005-02-03 01:52:52.000000000 +0100
208 +++ openwbem-3.2.2.new/src/providerifcs/npi/OW_NPIAssociatorProviderProxy.cpp 2009-08-15 18:52:31.000000000 +0200
209 @@ -27,6 +27,9 @@
210 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
211 * POSSIBILITY OF SUCH DAMAGE.
212 *******************************************************************************/
213 +#include <cstring>
214 +#include <cstdlib>
216 #include "OW_config.h"
217 #include "OW_FTABLERef.hpp"
218 #include "OW_NPIAssociatorProviderProxy.hpp"
219 diff -aur openwbem-3.2.2.orig/src/providerifcs/npi/OW_NPIInstanceProviderProxy.cpp openwbem-3.2.2.new/src/providerifcs/npi/OW_NPIInstanceProviderProxy.cpp
220 --- openwbem-3.2.2.orig/src/providerifcs/npi/OW_NPIInstanceProviderProxy.cpp 2005-02-03 01:52:52.000000000 +0100
221 +++ openwbem-3.2.2.new/src/providerifcs/npi/OW_NPIInstanceProviderProxy.cpp 2009-08-15 19:11:13.000000000 +0200
222 @@ -27,6 +27,7 @@
223 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
224 * POSSIBILITY OF SUCH DAMAGE.
225 *******************************************************************************/
226 +#include <cstdlib>
227 #include "OW_config.h"
228 #include "OW_FTABLERef.hpp"
229 #include "OW_NPIInstanceProviderProxy.hpp"
230 diff -aur openwbem-3.2.2.orig/src/providerifcs/npi/OW_NPIProviderIFCUtils.hpp openwbem-3.2.2.new/src/providerifcs/npi/OW_NPIProviderIFCUtils.hpp
231 --- openwbem-3.2.2.orig/src/providerifcs/npi/OW_NPIProviderIFCUtils.hpp 2005-02-03 01:52:52.000000000 +0100
232 +++ openwbem-3.2.2.new/src/providerifcs/npi/OW_NPIProviderIFCUtils.hpp 2009-08-15 19:11:52.000000000 +0200
233 @@ -27,6 +27,7 @@
234 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
235 * POSSIBILITY OF SUCH DAMAGE.
236 *******************************************************************************/
237 +#include <cstdlib>
238 #ifndef OW_NPI_PROFIDER_IFC_UTILS_HPP_
239 #define OW_NPI_PROFIDER_IFC_UTILS_HPP_
240 #include "OW_config.h"
241 diff -aur openwbem-3.2.2.orig/src/providerifcs/npi/common/NPIExternal.cpp openwbem-3.2.2.new/src/providerifcs/npi/common/NPIExternal.cpp
242 --- openwbem-3.2.2.orig/src/providerifcs/npi/common/NPIExternal.cpp 2005-02-03 01:52:52.000000000 +0100
243 +++ openwbem-3.2.2.new/src/providerifcs/npi/common/NPIExternal.cpp 2009-08-15 18:11:11.000000000 +0200
244 @@ -1,4 +1,6 @@
245 #include <cstdio>
246 +#include <cstdlib>
247 +#include <cstring>
248 #include "OW_config.h"
249 #include "NPIExternal.hpp"
250 #include "OW_CIMParamValue.hpp"
251 diff -aur openwbem-3.2.2.orig/src/repositories/hdb/OW_AssocDb.hpp openwbem-3.2.2.new/src/repositories/hdb/OW_AssocDb.hpp
252 --- openwbem-3.2.2.orig/src/repositories/hdb/OW_AssocDb.hpp 2005-04-20 22:09:38.000000000 +0200
253 +++ openwbem-3.2.2.new/src/repositories/hdb/OW_AssocDb.hpp 2009-08-15 17:57:42.000000000 +0200
254 @@ -49,6 +49,7 @@
255 #include "OW_ResultHandlerIFC.hpp"
256 #include "OW_IntrusiveReference.hpp"
257 #include "OW_IntrusiveCountableBase.hpp"
258 +#include <cstring>
260 namespace OW_NAMESPACE