]> git.pld-linux.org Git - packages/ice.git/blob - ice-gcc46.patch
de6cfdbaaa9ffa0ae677dda50d865d7dce0bc783
[packages/ice.git] / ice-gcc46.patch
1 From ecb9147b36cdd7ed72af555556ae7c34df542b36 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Ha=C3=AFkel=20Gu=C3=A9mar?= <hguemar@fedoraproject.org>
3 Date: Tue, 29 May 2012 12:35:23 +0200
4 Subject: [PATCH 2/9] gcc46 fix
5
6 ---
7  cpp/include/Freeze/Map.h          |    2 +-
8  cpp/include/Ice/Buffer.h          |    2 ++
9  cpp/src/Ice/ConnectionFactory.cpp |    1 +
10  cpp/src/Ice/ConnectionI.cpp       |    1 +
11  cpp/src/Ice/Reference.cpp         |    2 +-
12  cpp/src/IceGrid/Util.h            |    1 +
13  cpp/src/slice2freeze/Main.cpp     |    1 +
14  cpp/test/Ice/binding/AllTests.cpp |    2 +-
15  8 files changed, 9 insertions(+), 3 deletions(-)
16
17 diff --git a/cpp/include/Freeze/Map.h b/cpp/include/Freeze/Map.h
18 index 2ec759d..d8ef692 100644
19 --- a/cpp/include/Freeze/Map.h
20 +++ b/cpp/include/Freeze/Map.h
21 @@ -15,7 +15,7 @@
22  #include <Freeze/DB.h>
23  #include <Freeze/Exception.h>
24  #include <Freeze/Connection.h>
25 -
26 +#include <cstddef>
27  //
28  // Berkeley DB's DbEnv
29  //
30 diff --git a/cpp/include/Ice/Buffer.h b/cpp/include/Ice/Buffer.h
31 index 6f7ebab..9501f08 100644
32 --- a/cpp/include/Ice/Buffer.h
33 +++ b/cpp/include/Ice/Buffer.h
34 @@ -12,6 +12,8 @@
35  
36  #include <Ice/Config.h>
37  
38 +#include <cstddef>
39 +
40  namespace IceInternal
41  {
42  
43 diff --git a/cpp/src/Ice/ConnectionFactory.cpp b/cpp/src/Ice/ConnectionFactory.cpp
44 index ee201fd..c5cfae1 100644
45 --- a/cpp/src/Ice/ConnectionFactory.cpp
46 +++ b/cpp/src/Ice/ConnectionFactory.cpp
47 @@ -26,6 +26,7 @@
48  #include <Ice/Functional.h>
49  #include <IceUtil/Random.h>
50  #include <iterator>
51 +#include <cstddef>
52  
53  using namespace std;
54  using namespace Ice;
55 diff --git a/cpp/src/Ice/ConnectionI.cpp b/cpp/src/Ice/ConnectionI.cpp
56 index 2d942ca..a864509 100644
57 --- a/cpp/src/Ice/ConnectionI.cpp
58 +++ b/cpp/src/Ice/ConnectionI.cpp
59 @@ -26,6 +26,7 @@
60  #include <Ice/ReferenceFactory.h> // For createProxy().
61  #include <Ice/ProxyFactory.h> // For createProxy().
62  #include <bzlib.h>
63 +#include <cstddef>
64  
65  using namespace std;
66  using namespace Ice;
67 diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp
68 index 875b64e..6f84069 100644
69 --- a/cpp/src/Ice/Reference.cpp
70 +++ b/cpp/src/Ice/Reference.cpp
71 @@ -28,7 +28,7 @@
72  #include <IceUtil/StringUtil.h>
73  #include <IceUtil/Random.h>
74  #include <IceUtil/MutexPtrLock.h>
75 -
76 +#include <cstddef>
77  #include <functional>
78  
79  using namespace std;
80 diff --git a/cpp/src/IceGrid/Util.h b/cpp/src/IceGrid/Util.h
81 index 72ffded..0047e57 100644
82 --- a/cpp/src/IceGrid/Util.h
83 +++ b/cpp/src/IceGrid/Util.h
84 @@ -16,6 +16,7 @@
85  #include <IceUtil/Random.h>
86  #include <functional>
87  #include <iterator>
88 +#include <cstddef>
89  
90  namespace IceGrid
91  {
92 diff --git a/cpp/src/slice2freeze/Main.cpp b/cpp/src/slice2freeze/Main.cpp
93 index 7e2afb2..af68a7d 100644
94 --- a/cpp/src/slice2freeze/Main.cpp
95 +++ b/cpp/src/slice2freeze/Main.cpp
96 @@ -19,6 +19,7 @@
97  #include <IceUtil/OutputUtil.h>
98  #include <IceUtil/StringUtil.h>
99  #include <cstring>
100 +#include <cstddef>
101  
102  using namespace std;
103  using namespace IceUtil;
104 diff --git a/cpp/test/Ice/binding/AllTests.cpp b/cpp/test/Ice/binding/AllTests.cpp
105 index f4da896..912aed1 100644
106 --- a/cpp/test/Ice/binding/AllTests.cpp
107 +++ b/cpp/test/Ice/binding/AllTests.cpp
108 @@ -12,7 +12,7 @@
109  #include <TestCommon.h>
110  #include <Test.h>
111  #include <set>
112 -
113 +#include <cstddef>
114  #include <functional>
115  
116  using namespace std;
117 -- 
118 1.7.10.2
119
This page took 0.072937 seconds and 2 git commands to generate.