1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../curlpp/gcc43.patch
5 # Copyright (C) 2009 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- curlpp-0.7.2/examples/example14.cpp.vanilla 2009-01-29 12:49:39.000000000 +0100
18 +++ curlpp-0.7.2/examples/example14.cpp 2009-01-29 12:49:55.000000000 +0100
20 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 #include <curlpp/cURLpp.hpp>
29 requests.add(&request2);
31 /* we start some action by calling perform right away */
32 - while(!requests.perform(&nbLeft));
33 + while(!requests.perform(&nbLeft))
37 struct timeval timeout;
40 /* one or more of curl's file descriptors say there's data to read
42 - while(!requests.perform(&nbLeft));
43 + while(!requests.perform(&nbLeft))
48 --- curlpp-0.7.2/examples/example11.cpp.vanilla 2009-01-29 12:48:12.000000000 +0100
49 +++ curlpp-0.7.2/examples/example11.cpp 2009-01-29 12:48:36.000000000 +0100
56 #include <curlpp/cURLpp.hpp>
57 #include <curlpp/Easy.hpp>
58 --- curlpp-0.7.2/examples/example13.cpp.vanilla 2009-01-29 12:48:49.000000000 +0100
59 +++ curlpp-0.7.2/examples/example13.cpp 2009-01-29 12:49:28.000000000 +0100
61 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
68 #include <curlpp/cURLpp.hpp>
70 requests.add(&request2);
72 /* we start some action by calling perform right away */
73 - while(!requests.perform(&nbLeft));
74 + while(!requests.perform(&nbLeft))
78 struct timeval timeout;
82 /* timeout or readable/writable sockets */
83 - while(!requests.perform(&nbLeft));
84 + while(!requests.perform(&nbLeft))
89 --- curlpp-0.7.2/examples/example10.cpp.vanilla 2009-01-29 12:47:52.000000000 +0100
90 +++ curlpp-0.7.2/examples/example10.cpp 2009-01-29 12:48:01.000000000 +0100
92 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
99 --- curlpp-0.7.2/examples/example21.cpp.vanilla 2009-01-29 12:50:36.000000000 +0100
100 +++ curlpp-0.7.2/examples/example21.cpp 2009-01-29 12:50:52.000000000 +0100
107 #include <curlpp/cURLpp.hpp>
108 #include <curlpp/Easy.hpp>
109 --- curlpp-0.7.2/examples/example06.cpp.vanilla 2009-01-29 12:47:08.000000000 +0100
110 +++ curlpp-0.7.2/examples/example06.cpp 2009-01-29 12:47:17.000000000 +0100
117 #include <curlpp/cURLpp.hpp>
118 #include <curlpp/Easy.hpp>
119 --- curlpp-0.7.2/examples/example02.cpp.vanilla 2009-01-29 12:46:33.000000000 +0100
120 +++ curlpp-0.7.2/examples/example02.cpp 2009-01-29 12:46:42.000000000 +0100
127 #include <curlpp/cURLpp.hpp>
128 #include <curlpp/Easy.hpp>
129 --- curlpp-0.7.2/examples/example05.cpp.vanilla 2009-01-29 12:46:54.000000000 +0100
130 +++ curlpp-0.7.2/examples/example05.cpp 2009-01-29 12:47:02.000000000 +0100
137 #include <curlpp/cURLpp.hpp>
138 #include <curlpp/Easy.hpp>
139 --- curlpp-0.7.2/curlpp/cURLpp.cpp.vanilla 2009-01-29 12:45:46.000000000 +0100
140 +++ curlpp-0.7.2/curlpp/cURLpp.cpp 2009-01-29 12:46:04.000000000 +0100
142 #include "cURLpp.hpp"
143 #include "Exception.hpp"
147 void cURLpp::initialize( long flags )
150 --- curlpp-0.7.2/curlpp/CurlHandle.cpp.vanilla 2009-01-29 12:45:23.000000000 +0100
151 +++ curlpp-0.7.2/curlpp/CurlHandle.cpp 2009-01-29 12:45:31.000000000 +0100
153 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
161 --- curlpp-0.7.2/utilspp/singleton/LifetimeWithLongevity.inl.vanilla 2009-01-29 12:45:05.000000000 +0100
162 +++ curlpp-0.7.2/utilspp/singleton/LifetimeWithLongevity.inl 2009-01-29 12:45:10.000000000 +0100
164 +#include <algorithm>
166 template< typename T, typename TDestroyer >
168 utilspp::setLongevity( T *obj, unsigned int longevity, TDestroyer d )
169 --- curlpp-0.7.2/utilspp/singleton/LifetimeLibrary.cpp.vanilla 2009-01-29 12:41:35.000000000 +0100
170 +++ curlpp-0.7.2/utilspp/singleton/LifetimeLibrary.cpp 2009-01-29 12:43:07.000000000 +0100
172 #include "SingletonHolder.hpp"
173 #include "LifetimeLibrary.hpp"
175 +#include <algorithm>
178 utilspp::LifetimeLibraryImpl::LifetimeLibraryImpl()
180 mTrackerArray( NULL ),