1 |
commit: 939181e6728d6a07dfdb06cad7b0a03b10137a11 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 5 17:57:00 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 5 18:40:02 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=939181e6 |
7 |
|
8 |
dev-cpp/xsd: Remove old |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/3022 |
12 |
|
13 |
dev-cpp/xsd/Manifest | 1 - |
14 |
.../3.3.0-boost-filesystem-v2-deprecation.patch | 925 --------------------- |
15 |
.../files/3.3.0-disable_examples_and_tests.patch | 55 -- |
16 |
dev-cpp/xsd/files/3.3.0-fix_include.patch | 13 - |
17 |
dev-cpp/xsd/files/3.3.0-fix_tests.patch | 13 - |
18 |
dev-cpp/xsd/files/3.3.0-xsdcxx-rename.patch | 121 --- |
19 |
dev-cpp/xsd/xsd-3.3.0-r3.ebuild | 142 ---- |
20 |
profiles/package.mask | 1 - |
21 |
8 files changed, 1271 deletions(-) |
22 |
|
23 |
diff --git a/dev-cpp/xsd/Manifest b/dev-cpp/xsd/Manifest |
24 |
index 836a7bd..2d082b4 100644 |
25 |
--- a/dev-cpp/xsd/Manifest |
26 |
+++ b/dev-cpp/xsd/Manifest |
27 |
@@ -1,2 +1 @@ |
28 |
-DIST xsd-3.3.0.tar.bz2 999479 SHA256 6157e3b0f3108f69a8d9344956020c234841d4a1de28745b19e45f8ee34b0c66 SHA512 4e7d18d71b362c4b67ad70c59c68d9be4a5f7210c94306c1685c2991a5eb82496675ac0c53f2919237e658d2e1fcf7e1bf5abe295127c7cf175c8eed090a8570 WHIRLPOOL 70b4767c463d4c5be65f8757e519a98a3c9dbc00f9a8a86026bdba5115eae5c5c7008ea05709ba293a68ab8de718b070cc0b4f6390f5bac62dca5f8a63480341 |
29 |
DIST xsd-4.0.0.tar.bz2 1042144 SHA256 dd85f46407c7ec161518f3fdc64263afb68b057b1bc0b09b47d792d1fabd29c2 SHA512 0bac508e6948ef9e2399daed2554fcff3eaa79a7e62a3b245c777fb8bef3c5c80a35403bffdb00f72d3cf1b411747a91c059dd1c932b0a00baf076d3e60da527 WHIRLPOOL 84cd9baeb2a9fbfa24dafd212950ca7e7ab808d3bc432c8fbf3837c4aad2d1aefabc5fa7f6ac1fb69584b6bd136f04badf435c28024009b0edc00ea7f2ef78ef |
30 |
|
31 |
diff --git a/dev-cpp/xsd/files/3.3.0-boost-filesystem-v2-deprecation.patch b/dev-cpp/xsd/files/3.3.0-boost-filesystem-v2-deprecation.patch |
32 |
deleted file mode 100644 |
33 |
index 0babafa..00000000 |
34 |
--- a/dev-cpp/xsd/files/3.3.0-boost-filesystem-v2-deprecation.patch |
35 |
+++ /dev/null |
36 |
@@ -1,925 +0,0 @@ |
37 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/parser/expat/elements.txx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/expat/elements.txx |
38 |
---- xsd-3.3.0/libxsd/xsd/cxx/parser/expat/elements.txx 2010-04-28 08:58:09.000000000 +0200 |
39 |
-+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/expat/elements.txx 2012-06-03 11:02:09.000000000 +0200 |
40 |
-@@ -594,7 +594,7 @@ |
41 |
- { |
42 |
- try |
43 |
- { |
44 |
-- start_element (ns, name, 0); |
45 |
-+ this->start_element (ns, name, 0); |
46 |
- } |
47 |
- catch (const schema_exception<C>& e) |
48 |
- { |
49 |
-@@ -621,7 +621,7 @@ |
50 |
- { |
51 |
- try |
52 |
- { |
53 |
-- start_element (ns, name, 0); |
54 |
-+ this->start_element (ns, name, 0); |
55 |
- } |
56 |
- catch (const schema_exception<C>& e) |
57 |
- { |
58 |
-@@ -693,7 +693,7 @@ |
59 |
- } |
60 |
- |
61 |
- ro_string<C> ro_id (id); |
62 |
-- start_element (ns, name, &ro_id); |
63 |
-+ this->start_element (ns, name, &ro_id); |
64 |
- } |
65 |
- catch (const schema_exception<C>& e) |
66 |
- { |
67 |
-@@ -713,7 +713,7 @@ |
68 |
- |
69 |
- try |
70 |
- { |
71 |
-- attribute (ns, name, value); |
72 |
-+ this->attribute (ns, name, value); |
73 |
- } |
74 |
- catch (const schema_exception<C>& e) |
75 |
- { |
76 |
-@@ -748,7 +748,7 @@ |
77 |
- |
78 |
- try |
79 |
- { |
80 |
-- end_element (ns, name); |
81 |
-+ this->end_element (ns, name); |
82 |
- } |
83 |
- catch (const schema_exception<C>& e) |
84 |
- { |
85 |
-@@ -777,7 +777,7 @@ |
86 |
- |
87 |
- try |
88 |
- { |
89 |
-- characters (str); |
90 |
-+ this->characters (str); |
91 |
- } |
92 |
- catch (const schema_exception<C>& e) |
93 |
- { |
94 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/parser/non-validating/parser.txx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/non-validating/parser.txx |
95 |
---- xsd-3.3.0/libxsd/xsd/cxx/parser/non-validating/parser.txx 2010-04-28 08:58:09.000000000 +0200 |
96 |
-+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/non-validating/parser.txx 2012-06-03 11:02:09.000000000 +0200 |
97 |
-@@ -164,15 +164,15 @@ |
98 |
- if (ns == xml::bits::xmlns_namespace<C> ()) |
99 |
- return; |
100 |
- |
101 |
-- if (!_attribute_impl (ns, name, value)) |
102 |
-- _any_attribute (ns, name, value); |
103 |
-+ if (!this->_attribute_impl (ns, name, value)) |
104 |
-+ this->_any_attribute (ns, name, value); |
105 |
- } |
106 |
- |
107 |
- template <typename C> |
108 |
- void simple_content<C>:: |
109 |
- _characters (const ro_string<C>& str) |
110 |
- { |
111 |
-- _characters_impl (str); |
112 |
-+ this->_characters_impl (str); |
113 |
- } |
114 |
- |
115 |
- |
116 |
-@@ -190,15 +190,15 @@ |
117 |
- if (s.depth_++ > 0) |
118 |
- { |
119 |
- if (s.any_) |
120 |
-- _start_any_element (ns, name, type); |
121 |
-+ this->_start_any_element (ns, name, type); |
122 |
- else if (s.parser_) |
123 |
- s.parser_->_start_element (ns, name, type); |
124 |
- } |
125 |
- else |
126 |
- { |
127 |
-- if (!_start_element_impl (ns, name, type)) |
128 |
-+ if (!this->_start_element_impl (ns, name, type)) |
129 |
- { |
130 |
-- _start_any_element (ns, name, type); |
131 |
-+ this->_start_any_element (ns, name, type); |
132 |
- s.any_ = true; |
133 |
- } |
134 |
- else if (s.parser_ != 0) |
135 |
-@@ -235,7 +235,7 @@ |
136 |
- |
137 |
- this->_post_impl (); |
138 |
- |
139 |
-- if (!_end_element_impl (ns, name)) |
140 |
-+ if (!this->_end_element_impl (ns, name)) |
141 |
- assert (false); |
142 |
- } |
143 |
- } |
144 |
-@@ -246,7 +246,7 @@ |
145 |
- if (--s.depth_ > 0) |
146 |
- { |
147 |
- if (s.any_) |
148 |
-- _end_any_element (ns, name); |
149 |
-+ this->_end_any_element (ns, name); |
150 |
- else if (s.parser_) |
151 |
- s.parser_->_end_element (ns, name); |
152 |
- } |
153 |
-@@ -255,10 +255,10 @@ |
154 |
- if (s.parser_ != 0 && !s.any_) |
155 |
- s.parser_->_post_impl (); |
156 |
- |
157 |
-- if (!_end_element_impl (ns, name)) |
158 |
-+ if (!this->_end_element_impl (ns, name)) |
159 |
- { |
160 |
- s.any_ = false; |
161 |
-- _end_any_element (ns, name); |
162 |
-+ this->_end_any_element (ns, name); |
163 |
- } |
164 |
- } |
165 |
- } |
166 |
-@@ -292,14 +292,14 @@ |
167 |
- if (s.depth_ > 0) |
168 |
- { |
169 |
- if (s.any_) |
170 |
-- _any_attribute (ns, name, value); |
171 |
-+ this->_any_attribute (ns, name, value); |
172 |
- else if (s.parser_) |
173 |
- s.parser_->_attribute (ns, name, value); |
174 |
- } |
175 |
- else |
176 |
- { |
177 |
-- if (!_attribute_impl (ns, name, value)) |
178 |
-- _any_attribute (ns, name, value); |
179 |
-+ if (!this->_attribute_impl (ns, name, value)) |
180 |
-+ this->_any_attribute (ns, name, value); |
181 |
- } |
182 |
- } |
183 |
- |
184 |
-@@ -312,14 +312,14 @@ |
185 |
- if (s.depth_ > 0) |
186 |
- { |
187 |
- if (s.any_) |
188 |
-- _any_characters (str); |
189 |
-+ this->_any_characters (str); |
190 |
- else if (s.parser_) |
191 |
- s.parser_->_characters (str); |
192 |
- } |
193 |
- else |
194 |
- { |
195 |
-- if (!_characters_impl (str)) |
196 |
-- _any_characters (str); |
197 |
-+ if (!this->_characters_impl (str)) |
198 |
-+ this->_any_characters (str); |
199 |
- } |
200 |
- } |
201 |
- |
202 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.txx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.txx |
203 |
---- xsd-3.3.0/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.txx 2010-04-28 08:58:09.000000000 +0200 |
204 |
-+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.txx 2012-06-03 11:02:09.000000000 +0200 |
205 |
-@@ -20,7 +20,7 @@ |
206 |
- const ro_string<C>& name, |
207 |
- const ro_string<C>* type) |
208 |
- { |
209 |
-- _start_any_element (ns, name, type); |
210 |
-+ this->_start_any_element (ns, name, type); |
211 |
- this->complex_content<C>::context_.top ().any_ = true; |
212 |
- return true; |
213 |
- } |
214 |
-@@ -30,7 +30,7 @@ |
215 |
- _end_element_impl (const ro_string<C>& ns, const ro_string<C>& name) |
216 |
- { |
217 |
- this->complex_content<C>::context_.top ().any_ = false; |
218 |
-- _end_any_element (ns, name); |
219 |
-+ this->_end_any_element (ns, name); |
220 |
- return true; |
221 |
- } |
222 |
- |
223 |
-@@ -41,7 +41,7 @@ |
224 |
- const ro_string<C>& name, |
225 |
- const ro_string<C>& value) |
226 |
- { |
227 |
-- _any_attribute (ns, name, value); |
228 |
-+ this->_any_attribute (ns, name, value); |
229 |
- return true; |
230 |
- } |
231 |
- |
232 |
-@@ -49,7 +49,7 @@ |
233 |
- bool any_type_pskel<C>:: |
234 |
- _characters_impl (const ro_string<C>& s) |
235 |
- { |
236 |
-- _any_characters (s); |
237 |
-+ this->_any_characters (s); |
238 |
- return true; |
239 |
- } |
240 |
- |
241 |
-@@ -60,7 +60,7 @@ |
242 |
- bool any_simple_type_pskel<C>:: |
243 |
- _characters_impl (const ro_string<C>& s) |
244 |
- { |
245 |
-- _any_characters (s); |
246 |
-+ this->_any_characters (s); |
247 |
- return true; |
248 |
- } |
249 |
- } |
250 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/parser/validating/parser.txx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/validating/parser.txx |
251 |
---- xsd-3.3.0/libxsd/xsd/cxx/parser/validating/parser.txx 2010-04-28 08:58:09.000000000 +0200 |
252 |
-+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/validating/parser.txx 2012-06-03 11:02:09.000000000 +0200 |
253 |
-@@ -93,8 +93,8 @@ |
254 |
- const ro_string<C>& name, |
255 |
- const ro_string<C>* type) |
256 |
- { |
257 |
-- if (!_start_element_impl (ns, name, type)) |
258 |
-- _unexpected_element (ns, name); |
259 |
-+ if (!this->_start_element_impl (ns, name, type)) |
260 |
-+ this->_unexpected_element (ns, name); |
261 |
- } |
262 |
- |
263 |
- template <typename C> |
264 |
-@@ -102,8 +102,8 @@ |
265 |
- _end_element (const ro_string<C>& ns, |
266 |
- const ro_string<C>& name) |
267 |
- { |
268 |
-- if (!_end_element_impl (ns, name)) |
269 |
-- _unexpected_element (ns, name); |
270 |
-+ if (!this->_end_element_impl (ns, name)) |
271 |
-+ this->_unexpected_element (ns, name); |
272 |
- } |
273 |
- |
274 |
- template <typename C> |
275 |
-@@ -129,16 +129,16 @@ |
276 |
- if (ns == xml::bits::xmlns_namespace<C> ()) |
277 |
- return; |
278 |
- |
279 |
-- if (!_attribute_impl (ns, name, value)) |
280 |
-- _unexpected_attribute (ns, name, value); |
281 |
-+ if (!this->_attribute_impl (ns, name, value)) |
282 |
-+ this->_unexpected_attribute (ns, name, value); |
283 |
- } |
284 |
- |
285 |
- template <typename C> |
286 |
- void empty_content<C>:: |
287 |
- _characters (const ro_string<C>& s) |
288 |
- { |
289 |
-- if (!_characters_impl (s)) |
290 |
-- _unexpected_characters (s); |
291 |
-+ if (!this->_characters_impl (s)) |
292 |
-+ this->_unexpected_characters (s); |
293 |
- } |
294 |
- |
295 |
- // |
296 |
-@@ -218,15 +218,15 @@ |
297 |
- if (ns == xml::bits::xmlns_namespace<C> ()) |
298 |
- return; |
299 |
- |
300 |
-- if (!_attribute_impl (ns, name, value)) |
301 |
-- _unexpected_attribute (ns, name, value); |
302 |
-+ if (!this->_attribute_impl (ns, name, value)) |
303 |
-+ this->_unexpected_attribute (ns, name, value); |
304 |
- } |
305 |
- |
306 |
- template <typename C> |
307 |
- void simple_content<C>:: |
308 |
- _characters (const ro_string<C>& str) |
309 |
- { |
310 |
-- if (!_characters_impl (str)) |
311 |
-+ if (!this->_characters_impl (str)) |
312 |
- { |
313 |
- // Mixed content is implemented in the generated code |
314 |
- // by overriding _characters_impl and forwarding to |
315 |
-@@ -245,7 +245,7 @@ |
316 |
- c != C (0x0D) && // carriage return |
317 |
- c != C (0x09) && // tab |
318 |
- c != C (0x0A)) |
319 |
-- _unexpected_characters (str); |
320 |
-+ this->_unexpected_characters (str); |
321 |
- } |
322 |
- } |
323 |
- } |
324 |
-@@ -322,14 +322,14 @@ |
325 |
- if (s.depth_++ > 0) |
326 |
- { |
327 |
- if (s.any_) |
328 |
-- _start_any_element (ns, name, type); |
329 |
-+ this->_start_any_element (ns, name, type); |
330 |
- else if (s.parser_) |
331 |
- s.parser_->_start_element (ns, name, type); |
332 |
- } |
333 |
- else |
334 |
- { |
335 |
-- if (!_start_element_impl (ns, name, type)) |
336 |
-- _unexpected_element (ns, name); |
337 |
-+ if (!this->_start_element_impl (ns, name, type)) |
338 |
-+ this->_unexpected_element (ns, name); |
339 |
- else if (s.parser_ != 0) |
340 |
- s.parser_->_pre_impl (); |
341 |
- } |
342 |
-@@ -364,7 +364,7 @@ |
343 |
- |
344 |
- this->_post_impl (); |
345 |
- |
346 |
-- if (!_end_element_impl (ns, name)) |
347 |
-+ if (!this->_end_element_impl (ns, name)) |
348 |
- assert (false); |
349 |
- } |
350 |
- } |
351 |
-@@ -375,7 +375,7 @@ |
352 |
- if (--s.depth_ > 0) |
353 |
- { |
354 |
- if (s.any_) |
355 |
-- _end_any_element (ns, name); |
356 |
-+ this->_end_any_element (ns, name); |
357 |
- else if (s.parser_) |
358 |
- s.parser_->_end_element (ns, name); |
359 |
- } |
360 |
-@@ -384,8 +384,8 @@ |
361 |
- if (s.parser_ != 0 && !s.any_) |
362 |
- s.parser_->_post_impl (); |
363 |
- |
364 |
-- if (!_end_element_impl (ns, name)) |
365 |
-- _unexpected_element (ns, name); |
366 |
-+ if (!this->_end_element_impl (ns, name)) |
367 |
-+ this->_unexpected_element (ns, name); |
368 |
- } |
369 |
- } |
370 |
- } |
371 |
-@@ -418,14 +418,14 @@ |
372 |
- if (s.depth_ > 0) |
373 |
- { |
374 |
- if (s.any_) |
375 |
-- _any_attribute (ns, name, value); |
376 |
-+ this->_any_attribute (ns, name, value); |
377 |
- else if (s.parser_) |
378 |
- s.parser_->_attribute (ns, name, value); |
379 |
- } |
380 |
- else |
381 |
- { |
382 |
-- if (!_attribute_impl (ns, name, value)) |
383 |
-- _unexpected_attribute (ns, name, value); |
384 |
-+ if (!this->_attribute_impl (ns, name, value)) |
385 |
-+ this->_unexpected_attribute (ns, name, value); |
386 |
- } |
387 |
- } |
388 |
- |
389 |
-@@ -438,13 +438,13 @@ |
390 |
- if (s.depth_ > 0) |
391 |
- { |
392 |
- if (s.any_) |
393 |
-- _any_characters (str); |
394 |
-+ this->_any_characters (str); |
395 |
- else if (s.parser_) |
396 |
- s.parser_->_characters (str); |
397 |
- } |
398 |
- else |
399 |
- { |
400 |
-- if (!_characters_impl (str)) |
401 |
-+ if (!this->_characters_impl (str)) |
402 |
- { |
403 |
- // Mixed content is implemented in the generated code |
404 |
- // by overriding _characters_impl and forwarding to |
405 |
-@@ -463,7 +463,7 @@ |
406 |
- c != C (0x0D) && // carriage return |
407 |
- c != C (0x09) && // tab |
408 |
- c != C (0x0A)) |
409 |
-- _unexpected_characters (str); |
410 |
-+ this->_unexpected_characters (str); |
411 |
- } |
412 |
- } |
413 |
- } |
414 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.txx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.txx |
415 |
---- xsd-3.3.0/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.txx 2010-04-28 08:58:09.000000000 +0200 |
416 |
-+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.txx 2012-06-03 11:02:09.000000000 +0200 |
417 |
-@@ -20,7 +20,7 @@ |
418 |
- const ro_string<C>& name, |
419 |
- const ro_string<C>* type) |
420 |
- { |
421 |
-- _start_any_element (ns, name, type); |
422 |
-+ this->_start_any_element (ns, name, type); |
423 |
- this->complex_content<C>::context_.top ().any_ = true; |
424 |
- return true; |
425 |
- } |
426 |
-@@ -30,7 +30,7 @@ |
427 |
- _end_element_impl (const ro_string<C>& ns, const ro_string<C>& name) |
428 |
- { |
429 |
- this->complex_content<C>::context_.top ().any_ = false; |
430 |
-- _end_any_element (ns, name); |
431 |
-+ this->_end_any_element (ns, name); |
432 |
- return true; |
433 |
- } |
434 |
- |
435 |
-@@ -41,7 +41,7 @@ |
436 |
- const ro_string<C>& name, |
437 |
- const ro_string<C>& value) |
438 |
- { |
439 |
-- _any_attribute (ns, name, value); |
440 |
-+ this->_any_attribute (ns, name, value); |
441 |
- return true; |
442 |
- } |
443 |
- |
444 |
-@@ -49,7 +49,7 @@ |
445 |
- bool any_type_pskel<C>:: |
446 |
- _characters_impl (const ro_string<C>& s) |
447 |
- { |
448 |
-- _any_characters (s); |
449 |
-+ this->_any_characters (s); |
450 |
- return true; |
451 |
- } |
452 |
- |
453 |
-@@ -60,7 +60,7 @@ |
454 |
- bool any_simple_type_pskel<C>:: |
455 |
- _characters_impl (const ro_string<C>& s) |
456 |
- { |
457 |
-- _any_characters (s); |
458 |
-+ this->_any_characters (s); |
459 |
- return true; |
460 |
- } |
461 |
- } |
462 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/tree/parsing.txx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/tree/parsing.txx |
463 |
---- xsd-3.3.0/libxsd/xsd/cxx/tree/parsing.txx 2010-04-28 08:58:09.000000000 +0200 |
464 |
-+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/tree/parsing.txx 2012-06-03 11:02:09.000000000 +0200 |
465 |
-@@ -299,7 +299,7 @@ |
466 |
- |
467 |
- if (j != basic_string<C>::npos) |
468 |
- { |
469 |
-- push_back ( |
470 |
-+ this->push_back ( |
471 |
- traits<T, C, ST>::create ( |
472 |
- basic_string<C> (data + i, j - i), parent, 0, 0)); |
473 |
- |
474 |
-@@ -309,7 +309,7 @@ |
475 |
- { |
476 |
- // Last element. |
477 |
- // |
478 |
-- push_back ( |
479 |
-+ this->push_back ( |
480 |
- traits<T, C, ST>::create ( |
481 |
- basic_string<C> (data + i, size - i), parent, 0, 0)); |
482 |
- |
483 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/tree/stream-extraction.hxx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/tree/stream-extraction.hxx |
484 |
---- xsd-3.3.0/libxsd/xsd/cxx/tree/stream-extraction.hxx 2010-04-28 08:58:09.000000000 +0200 |
485 |
-+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/tree/stream-extraction.hxx 2012-06-03 11:03:11.000000000 +0200 |
486 |
-@@ -68,7 +68,7 @@ |
487 |
- while (size--) |
488 |
- { |
489 |
- std::auto_ptr<T> p (new T (s, f, c)); |
490 |
-- push_back (p); |
491 |
-+ this->push_back (p); |
492 |
- } |
493 |
- } |
494 |
- } |
495 |
-@@ -91,7 +91,7 @@ |
496 |
- { |
497 |
- T x; |
498 |
- s >> x; |
499 |
-- push_back (x); |
500 |
-+ this->push_back (x); |
501 |
- } |
502 |
- } |
503 |
- } |
504 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/zc-istream.txx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/zc-istream.txx |
505 |
---- xsd-3.3.0/libxsd/xsd/cxx/zc-istream.txx 2010-04-28 08:58:09.000000000 +0200 |
506 |
-+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/zc-istream.txx 2012-06-03 11:02:09.000000000 +0200 |
507 |
-@@ -32,7 +32,7 @@ |
508 |
- C* b (const_cast<C*> (str_.data ())); |
509 |
- C* e (b + str_.size ()); |
510 |
- |
511 |
-- setg (b, b, e); |
512 |
-+ this->setg (b, b, e); |
513 |
- } |
514 |
- |
515 |
- template <typename C> |
516 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/xsd/cxx/elements.cxx xsd-3.3.0-2+dep/xsd/xsd/cxx/elements.cxx |
517 |
---- xsd-3.3.0/xsd/cxx/elements.cxx 2010-04-28 08:58:09.000000000 +0200 |
518 |
-+++ xsd-3.3.0-2+dep/xsd/xsd/cxx/elements.cxx 2012-06-03 11:02:29.000000000 +0200 |
519 |
-@@ -326,7 +326,11 @@ |
520 |
- } |
521 |
- catch (SemanticGraph::InvalidPath const&) |
522 |
- { |
523 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
524 |
- pair = path.native_file_string (); |
525 |
-+#else |
526 |
-+ pair = path.string (); |
527 |
-+#endif |
528 |
- } |
529 |
- } |
530 |
- |
531 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/xsd/cxx/parser/elements.cxx xsd-3.3.0-2+dep/xsd/xsd/cxx/parser/elements.cxx |
532 |
---- xsd-3.3.0/xsd/cxx/parser/elements.cxx 2010-04-28 08:58:09.000000000 +0200 |
533 |
-+++ xsd-3.3.0-2+dep/xsd/xsd/cxx/parser/elements.cxx 2012-06-03 11:02:29.000000000 +0200 |
534 |
-@@ -244,7 +244,11 @@ |
535 |
- } |
536 |
- catch (SemanticGraph::InvalidPath const&) |
537 |
- { |
538 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
539 |
- path_str = path.native_file_string (); |
540 |
-+#else |
541 |
-+ path_str = path.string (); |
542 |
-+#endif |
543 |
- } |
544 |
- |
545 |
- String inc_path; |
546 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/xsd/cxx/parser/generator.cxx xsd-3.3.0-2+dep/xsd/xsd/cxx/parser/generator.cxx |
547 |
---- xsd-3.3.0/xsd/cxx/parser/generator.cxx 2010-04-28 08:58:09.000000000 +0200 |
548 |
-+++ xsd-3.3.0-2+dep/xsd/xsd/cxx/parser/generator.cxx 2012-06-03 11:02:29.000000000 +0200 |
549 |
-@@ -552,7 +552,11 @@ |
550 |
- { |
551 |
- try |
552 |
- { |
553 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
554 |
- Path fs_path (path, boost::filesystem::native); |
555 |
-+#else |
556 |
-+ Path fs_path (path.c_str()); |
557 |
-+#endif |
558 |
- ifs.open (fs_path, std::ios_base::in | std::ios_base::binary); |
559 |
- |
560 |
- if (!ifs.is_open ()) |
561 |
-@@ -638,7 +642,11 @@ |
562 |
- { |
563 |
- if (NarrowString name = ops.value<CLI::extern_xml_schema> ()) |
564 |
- { |
565 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
566 |
- if (file_path.native_file_string () != name) |
567 |
-+#else |
568 |
-+ if (file_path.string () != name) |
569 |
-+#endif |
570 |
- generate_xml_schema = false; |
571 |
- } |
572 |
- } |
573 |
-@@ -815,7 +823,11 @@ |
574 |
- |
575 |
- // Generate code. |
576 |
- // |
577 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
578 |
- NarrowString name (file_path.leaf ()); |
579 |
-+#else |
580 |
-+ NarrowString name (file_path.filename().string()); |
581 |
-+#endif |
582 |
- NarrowString skel_suffix (ops.value <CLI::skel_file_suffix> ()); |
583 |
- NarrowString impl_suffix (ops.value <CLI::impl_file_suffix> ()); |
584 |
- |
585 |
-@@ -921,9 +933,15 @@ |
586 |
- cxx_driver_name = cxx_driver_expr.merge (name); |
587 |
- } |
588 |
- |
589 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
590 |
- Path hxx_path (hxx_name, boost::filesystem::native); |
591 |
- Path ixx_path (ixx_name, boost::filesystem::native); |
592 |
- Path cxx_path (cxx_name, boost::filesystem::native); |
593 |
-+#else |
594 |
-+ Path hxx_path (hxx_name.c_str()); |
595 |
-+ Path ixx_path (ixx_name.c_str()); |
596 |
-+ Path cxx_path (cxx_name.c_str()); |
597 |
-+#endif |
598 |
- |
599 |
- Path hxx_impl_path; |
600 |
- Path cxx_impl_path; |
601 |
-@@ -931,9 +949,15 @@ |
602 |
- |
603 |
- if (impl || driver) |
604 |
- { |
605 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
606 |
- hxx_impl_path = Path (hxx_impl_name, boost::filesystem::native); |
607 |
- cxx_impl_path = Path (cxx_impl_name, boost::filesystem::native); |
608 |
- cxx_driver_path = Path (cxx_driver_name, boost::filesystem::native); |
609 |
-+#else |
610 |
-+ hxx_impl_path = Path (hxx_impl_name.c_str()); |
611 |
-+ cxx_impl_path = Path (cxx_impl_name.c_str()); |
612 |
-+ cxx_driver_path = Path (cxx_driver_name.c_str()); |
613 |
-+#endif |
614 |
- } |
615 |
- |
616 |
- Path out_dir; |
617 |
-@@ -942,7 +966,11 @@ |
618 |
- { |
619 |
- try |
620 |
- { |
621 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
622 |
- out_dir = Path (dir, boost::filesystem::native); |
623 |
-+#else |
624 |
-+ out_dir = Path (dir.c_str()); |
625 |
-+#endif |
626 |
- } |
627 |
- catch (InvalidPath const&) |
628 |
- { |
629 |
-@@ -1010,7 +1038,11 @@ |
630 |
- } |
631 |
- |
632 |
- unlinks.add (hxx_impl_path); |
633 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
634 |
- file_list.push_back (hxx_impl_path.native_file_string ()); |
635 |
-+#else |
636 |
-+ file_list.push_back (hxx_impl_path.string ()); |
637 |
-+#endif |
638 |
- |
639 |
- if (!ops.value<CLI::force_overwrite> ()) |
640 |
- { |
641 |
-@@ -1036,7 +1068,11 @@ |
642 |
- } |
643 |
- |
644 |
- unlinks.add (cxx_impl_path); |
645 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
646 |
- file_list.push_back (cxx_impl_path.native_file_string ()); |
647 |
-+#else |
648 |
-+ file_list.push_back (cxx_impl_path.string ()); |
649 |
-+#endif |
650 |
- } |
651 |
- |
652 |
- if (driver) |
653 |
-@@ -1065,7 +1101,11 @@ |
654 |
- } |
655 |
- |
656 |
- unlinks.add (cxx_driver_path); |
657 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
658 |
- file_list.push_back (cxx_driver_path.native_file_string ()); |
659 |
-+#else |
660 |
-+ file_list.push_back (cxx_driver_path.string ()); |
661 |
-+#endif |
662 |
- } |
663 |
- |
664 |
- // Open the skel files. |
665 |
-@@ -1081,7 +1121,11 @@ |
666 |
- } |
667 |
- |
668 |
- unlinks.add (hxx_path); |
669 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
670 |
- file_list.push_back (hxx_path.native_file_string ()); |
671 |
-+#else |
672 |
-+ file_list.push_back (hxx_path.string ()); |
673 |
-+#endif |
674 |
- |
675 |
- if (inline_) |
676 |
- { |
677 |
-@@ -1094,7 +1138,11 @@ |
678 |
- } |
679 |
- |
680 |
- unlinks.add (ixx_path); |
681 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
682 |
- file_list.push_back (ixx_path.native_file_string ()); |
683 |
-+#else |
684 |
-+ file_list.push_back (ixx_path.string ()); |
685 |
-+#endif |
686 |
- } |
687 |
- |
688 |
- |
689 |
-@@ -1109,7 +1157,11 @@ |
690 |
- } |
691 |
- |
692 |
- unlinks.add (cxx_path); |
693 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
694 |
- file_list.push_back (cxx_path.native_file_string ()); |
695 |
-+#else |
696 |
-+ file_list.push_back (cxx_path.string ()); |
697 |
-+#endif |
698 |
- } |
699 |
- |
700 |
- // Print copyright and license. |
701 |
-@@ -1168,7 +1220,11 @@ |
702 |
- NarrowString guard_prefix (ops.value<CLI::guard_prefix> ()); |
703 |
- |
704 |
- if (!guard_prefix) |
705 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
706 |
- guard_prefix = file_path.branch_path ().native_directory_string (); |
707 |
-+#else |
708 |
-+ guard_prefix = file_path.branch_path ().string (); |
709 |
-+#endif |
710 |
- |
711 |
- if (guard_prefix) |
712 |
- guard_prefix += '_'; |
713 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/xsd/cxx/tree/elements.cxx xsd-3.3.0-2+dep/xsd/xsd/cxx/tree/elements.cxx |
714 |
---- xsd-3.3.0/xsd/cxx/tree/elements.cxx 2010-04-28 08:58:09.000000000 +0200 |
715 |
-+++ xsd-3.3.0-2+dep/xsd/xsd/cxx/tree/elements.cxx 2012-06-03 11:02:29.000000000 +0200 |
716 |
-@@ -1312,7 +1312,11 @@ |
717 |
- } |
718 |
- catch (SemanticGraph::InvalidPath const&) |
719 |
- { |
720 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
721 |
- path_str = path.native_file_string (); |
722 |
-+#else |
723 |
-+ path_str = path.string (); |
724 |
-+#endif |
725 |
- } |
726 |
- |
727 |
- String inc_path; |
728 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/xsd/cxx/tree/generator.cxx xsd-3.3.0-2+dep/xsd/xsd/cxx/tree/generator.cxx |
729 |
---- xsd-3.3.0/xsd/cxx/tree/generator.cxx 2010-04-28 08:58:09.000000000 +0200 |
730 |
-+++ xsd-3.3.0-2+dep/xsd/xsd/cxx/tree/generator.cxx 2012-06-03 11:02:29.000000000 +0200 |
731 |
-@@ -773,7 +773,11 @@ |
732 |
- { |
733 |
- try |
734 |
- { |
735 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
736 |
- Path fs_path (path, boost::filesystem::native); |
737 |
-+#else |
738 |
-+ Path fs_path (path.c_str()); |
739 |
-+#endif |
740 |
- ifs.open (fs_path, std::ios_base::in | std::ios_base::binary); |
741 |
- |
742 |
- if (!ifs.is_open ()) |
743 |
-@@ -939,7 +943,11 @@ |
744 |
- { |
745 |
- if (NarrowString name = ops.value<CLI::extern_xml_schema> ()) |
746 |
- { |
747 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
748 |
- if (file_path.native_file_string () != name) |
749 |
-+#else |
750 |
-+ if (file_path.string () != name) |
751 |
-+#endif |
752 |
- generate_xml_schema = false; |
753 |
- } |
754 |
- } |
755 |
-@@ -954,7 +962,11 @@ |
756 |
- |
757 |
- // Generate code. |
758 |
- // |
759 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
760 |
- NarrowString name (file_path.leaf ()); |
761 |
-+#else |
762 |
-+ NarrowString name (file_path.filename ().string()); |
763 |
-+#endif |
764 |
- |
765 |
- NarrowString hxx_suffix (ops.value <CLI::hxx_suffix> ()); |
766 |
- NarrowString ixx_suffix (ops.value <CLI::ixx_suffix> ()); |
767 |
-@@ -1013,9 +1025,15 @@ |
768 |
- NarrowString ixx_name (inline_ ? ixx_expr.merge (name) : NarrowString ()); |
769 |
- NarrowString fwd_name (forward ? fwd_expr.merge (name) : NarrowString ()); |
770 |
- |
771 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
772 |
- Path hxx_path (hxx_name, boost::filesystem::native); |
773 |
- Path ixx_path (ixx_name, boost::filesystem::native); |
774 |
- Path fwd_path (fwd_name, boost::filesystem::native); |
775 |
-+#else |
776 |
-+ Path hxx_path (hxx_name.c_str()); |
777 |
-+ Path ixx_path (ixx_name.c_str()); |
778 |
-+ Path fwd_path (fwd_name.c_str()); |
779 |
-+#endif |
780 |
- Paths cxx_paths; |
781 |
- |
782 |
- if (source) |
783 |
-@@ -1041,12 +1059,20 @@ |
784 |
- } |
785 |
- |
786 |
- cxx_paths.push_back ( |
787 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
788 |
- Path (cxx_expr.merge (part_name), boost::filesystem::native)); |
789 |
-+#else |
790 |
-+ Path (cxx_expr.merge (part_name).c_str())); |
791 |
-+#endif |
792 |
- } |
793 |
- } |
794 |
- else |
795 |
- cxx_paths.push_back ( |
796 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
797 |
- Path (cxx_expr.merge (name), boost::filesystem::native)); |
798 |
-+#else |
799 |
-+ Path (cxx_expr.merge (name).c_str())); |
800 |
-+#endif |
801 |
- } |
802 |
- |
803 |
- Path out_dir; |
804 |
-@@ -1055,7 +1081,11 @@ |
805 |
- { |
806 |
- try |
807 |
- { |
808 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
809 |
- out_dir = Path (dir, boost::filesystem::native); |
810 |
-+#else |
811 |
-+ out_dir = Path (dir.c_str()); |
812 |
-+#endif |
813 |
- } |
814 |
- catch (InvalidPath const&) |
815 |
- { |
816 |
-@@ -1108,7 +1138,11 @@ |
817 |
- } |
818 |
- |
819 |
- unlinks.add (fwd_path); |
820 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
821 |
- file_list.push_back (fwd_path.native_file_string ()); |
822 |
-+#else |
823 |
-+ file_list.push_back (fwd_path.string ()); |
824 |
-+#endif |
825 |
- } |
826 |
- |
827 |
- |
828 |
-@@ -1121,7 +1155,11 @@ |
829 |
- } |
830 |
- |
831 |
- unlinks.add (hxx_path); |
832 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
833 |
- file_list.push_back (hxx_path.native_file_string ()); |
834 |
-+#else |
835 |
-+ file_list.push_back (hxx_path.string ()); |
836 |
-+#endif |
837 |
- |
838 |
- |
839 |
- // IXX |
840 |
-@@ -1137,7 +1175,11 @@ |
841 |
- } |
842 |
- |
843 |
- unlinks.add (ixx_path); |
844 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
845 |
- file_list.push_back (ixx_path.native_file_string ()); |
846 |
-+#else |
847 |
-+ file_list.push_back (ixx_path.string ()); |
848 |
-+#endif |
849 |
- } |
850 |
- |
851 |
- |
852 |
-@@ -1158,7 +1200,11 @@ |
853 |
- } |
854 |
- |
855 |
- unlinks.add (*i); |
856 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
857 |
- file_list.push_back (i->native_file_string ()); |
858 |
-+#else |
859 |
-+ file_list.push_back (i->string ()); |
860 |
-+#endif |
861 |
- cxx.push_back (s); |
862 |
- } |
863 |
- } |
864 |
-@@ -1230,7 +1276,11 @@ |
865 |
- NarrowString guard_prefix (ops.value<CLI::guard_prefix> ()); |
866 |
- |
867 |
- if (!guard_prefix) |
868 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
869 |
- guard_prefix = file_path.branch_path ().native_directory_string (); |
870 |
-+#else |
871 |
-+ guard_prefix = file_path.branch_path ().string (); |
872 |
-+#endif |
873 |
- |
874 |
- if (guard_prefix) |
875 |
- guard_prefix += '_'; |
876 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/xsd/xsd.cxx xsd-3.3.0-2+dep/xsd/xsd/xsd.cxx |
877 |
---- xsd-3.3.0/xsd/xsd.cxx 2010-04-28 08:58:09.000000000 +0200 |
878 |
-+++ xsd-3.3.0-2+dep/xsd/xsd/xsd.cxx 2012-06-03 11:02:29.000000000 +0200 |
879 |
-@@ -636,7 +636,11 @@ |
880 |
- |
881 |
- try |
882 |
- { |
883 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
884 |
- tu = SemanticGraph::Path (args[i], boost::filesystem::native); |
885 |
-+#else |
886 |
-+ tu = SemanticGraph::Path (args[i]); |
887 |
-+#endif |
888 |
- } |
889 |
- catch (SemanticGraph::InvalidPath const&) |
890 |
- { |
891 |
-@@ -675,7 +679,11 @@ |
892 |
- if (NarrowString name = |
893 |
- tree_ops->value<CXX::Tree::CLI::extern_xml_schema> ()) |
894 |
- { |
895 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
896 |
- if (tu.native_file_string () != name) |
897 |
-+#else |
898 |
-+ if (tu.string () != name) |
899 |
-+#endif |
900 |
- gen_xml_schema = false; |
901 |
- } |
902 |
- } |
903 |
-@@ -690,7 +698,11 @@ |
904 |
- if (NarrowString name = |
905 |
- parser_ops->value<CXX::Parser::CLI::extern_xml_schema> ()) |
906 |
- { |
907 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
908 |
- if (tu.native_file_string () != name) |
909 |
-+#else |
910 |
-+ if (tu.string () != name) |
911 |
-+#endif |
912 |
- gen_xml_schema = false; |
913 |
- } |
914 |
- } |
915 |
-@@ -827,8 +839,13 @@ |
916 |
- { |
917 |
- try |
918 |
- { |
919 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
920 |
- paths.push_back ( |
921 |
- SemanticGraph::Path (args[i], boost::filesystem::native)); |
922 |
-+#else |
923 |
-+ paths.push_back ( |
924 |
-+ SemanticGraph::Path (args[i])); |
925 |
-+#endif |
926 |
- } |
927 |
- catch (SemanticGraph::InvalidPath const&) |
928 |
- { |
929 |
-@@ -991,9 +1008,17 @@ |
930 |
- try |
931 |
- { |
932 |
- OutputFileStream ofs; |
933 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
934 |
- SemanticGraph::Path path (fl); |
935 |
-+#else |
936 |
-+ SemanticGraph::Path path (fl.c_str()); |
937 |
-+#endif |
938 |
- |
939 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
940 |
- ofs.open (fl, std::ios_base::out); |
941 |
-+#else |
942 |
-+ ofs.open (fl.c_str(), std::ios_base::out); |
943 |
-+#endif |
944 |
- |
945 |
- if (!ofs.is_open ()) |
946 |
- { |
947 |
-diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/xsd/xsd.hxx xsd-3.3.0-2+dep/xsd/xsd/xsd.hxx |
948 |
---- xsd-3.3.0/xsd/xsd.hxx 2010-04-28 08:58:09.000000000 +0200 |
949 |
-+++ xsd-3.3.0-2+dep/xsd/xsd/xsd.hxx 2012-06-03 11:02:29.000000000 +0200 |
950 |
-@@ -38,7 +38,11 @@ |
951 |
- { |
952 |
- if (!canceled_) |
953 |
- { |
954 |
-+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 |
955 |
- std::remove (file_.native_file_string ().c_str ()); |
956 |
-+#else |
957 |
-+ std::remove (file_.string ().c_str ()); |
958 |
-+#endif |
959 |
- } |
960 |
- } |
961 |
- |
962 |
|
963 |
diff --git a/dev-cpp/xsd/files/3.3.0-disable_examples_and_tests.patch b/dev-cpp/xsd/files/3.3.0-disable_examples_and_tests.patch |
964 |
deleted file mode 100644 |
965 |
index 605d163..00000000 |
966 |
--- a/dev-cpp/xsd/files/3.3.0-disable_examples_and_tests.patch |
967 |
+++ /dev/null |
968 |
@@ -1,55 +0,0 @@ |
969 |
-diff --git a/makefile b/makefile |
970 |
-index 0c07b0d..32c2c93 100644 |
971 |
---- a/makefile |
972 |
-+++ b/makefile |
973 |
-@@ -14,8 +14,6 @@ clean := $(out_base)/.clean |
974 |
- cleandoc := $(out_base)/.cleandoc |
975 |
- |
976 |
- $(default): $(out_base)/xsd/ \ |
977 |
-- $(out_base)/tests/ \ |
978 |
-- $(out_base)/examples/ \ |
979 |
- $(out_base)/documentation/ |
980 |
- |
981 |
- # Test. |
982 |
-@@ -27,7 +25,6 @@ $(test): $(out_base)/tests/.test |
983 |
- # |
984 |
- $(install): $(out_base)/xsd/.install \ |
985 |
- $(out_base)/libxsd/.install \ |
986 |
-- $(out_base)/examples/.install \ |
987 |
- $(out_base)/documentation/.install |
988 |
- $(call install-dir,$(src_base)/dist/examples/build,$(install_doc_dir)/xsd/examples/build) |
989 |
- $(call install-dir,$(src_base)/dist/examples/cxx,$(install_doc_dir)/xsd/examples/cxx,-name makefile) |
990 |
-@@ -43,7 +40,6 @@ $(install): $(out_base)/xsd/.install \ |
991 |
- # |
992 |
- $(dist): $(out_base)/xsd/.dist \ |
993 |
- $(out_base)/libxsd/.dist \ |
994 |
-- $(out_base)/examples/.dist \ |
995 |
- $(out_base)/documentation/.dist |
996 |
- $(call install-dir,$(src_base)/dist/examples/build,$(dist_prefix)/examples/build) |
997 |
- $(call install-dir,$(src_base)/dist/examples/cxx,$(dist_prefix)/examples/cxx,-name makefile) |
998 |
-@@ -57,7 +53,6 @@ $(dist): $(out_base)/xsd/.dist \ |
999 |
- |
1000 |
- $(dist-win): $(out_base)/xsd/.dist-win \ |
1001 |
- $(out_base)/libxsd/.dist-win \ |
1002 |
-- $(out_base)/examples/.dist-win \ |
1003 |
- $(out_base)/documentation/.dist-win |
1004 |
- $(call install-dir,$(src_base)/dist/etc,$(dist_prefix)/etc) |
1005 |
- $(call install-dir,$(src_base)/dist/examples/build,$(dist_prefix)/examples/build) |
1006 |
-@@ -81,9 +76,7 @@ $(dist-win): $(out_base)/xsd/.dist-win \ |
1007 |
- |
1008 |
- # Clean. |
1009 |
- # |
1010 |
--$(clean): $(out_base)/xsd/.clean \ |
1011 |
-- $(out_base)/tests/.clean \ |
1012 |
-- $(out_base)/examples/.clean |
1013 |
-+$(clean): $(out_base)/xsd/.clean |
1014 |
- |
1015 |
- $(cleandoc): $(out_base)/documentation/.cleandoc |
1016 |
- |
1017 |
-@@ -91,6 +84,4 @@ $(call include,$(bld_root)/install.make) |
1018 |
- |
1019 |
- $(call import,$(src_base)/xsd/makefile) |
1020 |
- $(call import,$(src_base)/libxsd/makefile) |
1021 |
--$(call import,$(src_base)/tests/makefile) |
1022 |
--$(call import,$(src_base)/examples/makefile) |
1023 |
- $(call import,$(src_base)/documentation/makefile) |
1024 |
|
1025 |
diff --git a/dev-cpp/xsd/files/3.3.0-fix_include.patch b/dev-cpp/xsd/files/3.3.0-fix_include.patch |
1026 |
deleted file mode 100644 |
1027 |
index 5ba7420..00000000 |
1028 |
--- a/dev-cpp/xsd/files/3.3.0-fix_include.patch |
1029 |
+++ /dev/null |
1030 |
@@ -1,13 +0,0 @@ |
1031 |
-diff --git a/xsd/xsd.cxx b/xsd/xsd.cxx |
1032 |
-index 1c66a8a..dbbfed9 100644 |
1033 |
---- a/xsd/xsd.cxx |
1034 |
-+++ b/xsd/xsd.cxx |
1035 |
-@@ -18,7 +18,7 @@ |
1036 |
- |
1037 |
- #include <xsd-frontend/parser.hxx> |
1038 |
- #include <xsd-frontend/transformations/anonymous.hxx> |
1039 |
--#include <xsd-frontend/transformations/enum-synthesis.cxx> |
1040 |
-+#include <xsd-frontend/transformations/enum-synthesis.hxx> |
1041 |
- #include <xsd-frontend/transformations/restriction.hxx> |
1042 |
- #include <xsd-frontend/transformations/schema-per-type.hxx> |
1043 |
- #include <xsd-frontend/transformations/simplifier.hxx> |
1044 |
|
1045 |
diff --git a/dev-cpp/xsd/files/3.3.0-fix_tests.patch b/dev-cpp/xsd/files/3.3.0-fix_tests.patch |
1046 |
deleted file mode 100644 |
1047 |
index f8de00d..00000000 |
1048 |
--- a/dev-cpp/xsd/files/3.3.0-fix_tests.patch |
1049 |
+++ /dev/null |
1050 |
@@ -1,13 +0,0 @@ |
1051 |
-diff --git a/tests/cxx/tree/prefix/makefile b/tests/cxx/tree/prefix/makefile |
1052 |
-index 3317161..77b4b0a 100644 |
1053 |
---- a/tests/cxx/tree/prefix/makefile |
1054 |
-+++ b/tests/cxx/tree/prefix/makefile |
1055 |
-@@ -35,7 +35,7 @@ gen := $(addprefix $(out_base)/,$(genf)) |
1056 |
- |
1057 |
- $(gen): xsd := $(out_root)/xsd/xsd |
1058 |
- $(gen): xsd_options := --generate-serialization --generate-polymorphic \ |
1059 |
----polymorphic-type foo\\\#base --root-element root |
1060 |
-+--polymorphic-type foo\\\\\#base --root-element root |
1061 |
- $(gen): $(out_root)/xsd/xsd |
1062 |
- |
1063 |
- $(call include-dep,$(dep)) |
1064 |
|
1065 |
diff --git a/dev-cpp/xsd/files/3.3.0-xsdcxx-rename.patch b/dev-cpp/xsd/files/3.3.0-xsdcxx-rename.patch |
1066 |
deleted file mode 100644 |
1067 |
index b99a44e..00000000 |
1068 |
--- a/dev-cpp/xsd/files/3.3.0-xsdcxx-rename.patch |
1069 |
+++ /dev/null |
1070 |
@@ -1,121 +0,0 @@ |
1071 |
-diff --git a/documentation/xsd.1 b/documentation/xsd.1 |
1072 |
-index 8b97b14..213f6f6 100644 |
1073 |
---- a/documentation/xsd.1 |
1074 |
-+++ b/documentation/xsd.1 |
1075 |
-@@ -1,16 +1,16 @@ |
1076 |
- .\" Process this file with |
1077 |
--.\" groff -man -Tascii xsd.1 |
1078 |
-+.\" groff -man -Tascii xsdcxx.1 |
1079 |
- .\" |
1080 |
- .TH XSD 1 "April 2010" "XSD 3.3.0" |
1081 |
- .SH NAME |
1082 |
--xsd \- W3C XML Schema to C++ Compiler |
1083 |
-+xsdcxx \- W3C XML Schema to C++ Compiler |
1084 |
- .\" |
1085 |
- .\" |
1086 |
- .\" |
1087 |
- .\"-------------------------------------------------------------------- |
1088 |
- .SH SYNOPSIS |
1089 |
- .\"-------------------------------------------------------------------- |
1090 |
--.B xsd |
1091 |
-+.B xsdcxx |
1092 |
- .I command |
1093 |
- .B [ |
1094 |
- .I options |
1095 |
-@@ -20,19 +20,19 @@ xsd \- W3C XML Schema to C++ Compiler |
1096 |
- .I file |
1097 |
- .B ...] |
1098 |
- .in |
1099 |
--.B xsd help |
1100 |
-+.B xsdcxx help |
1101 |
- .B [ |
1102 |
- .I command |
1103 |
- .B ] |
1104 |
- .in |
1105 |
--.B xsd version |
1106 |
-+.B xsdcxx version |
1107 |
- .\" |
1108 |
- .\" |
1109 |
- .\" |
1110 |
- .\"-------------------------------------------------------------------- |
1111 |
- .SH DESCRIPTION |
1112 |
- .\"-------------------------------------------------------------------- |
1113 |
--.B xsd |
1114 |
-+.B xsdcxx |
1115 |
- generates vocabulary-specific, statically-typed C++ mapping from W3C XML |
1116 |
- Schema definitions. Particular mapping to produce is selected by a |
1117 |
- .IR command . |
1118 |
-@@ -203,7 +203,7 @@ For example, if you have file |
1119 |
- with namespace |
1120 |
- .B http://example.com/hello |
1121 |
- and you run |
1122 |
--.B xsd |
1123 |
-+.B xsdcxx |
1124 |
- on this file, then the string in question will be: |
1125 |
- |
1126 |
- .B hello.xsd. http://example.com/hello |
1127 |
-@@ -1877,7 +1877,7 @@ option. With this approach you don't need to worry about shell quoting. |
1128 |
- .\" |
1129 |
- .SH DIAGNOSTICS |
1130 |
- If the input file is not a valid W3C XML Schema definition, |
1131 |
--.B xsd |
1132 |
-+.B xsdcxx |
1133 |
- will issue diagnostic messages to |
1134 |
- .B STDERR |
1135 |
- and exit with non-zero exit code. |
1136 |
-diff --git a/documentation/xsd.xhtml b/documentation/xsd.xhtml |
1137 |
-index 4acf822..af630bf 100644 |
1138 |
---- a/documentation/xsd.xhtml |
1139 |
-+++ b/documentation/xsd.xhtml |
1140 |
-@@ -50,19 +50,19 @@ |
1141 |
- |
1142 |
- <h1>NAME</h1> |
1143 |
- |
1144 |
-- <p>xsd - W3C XML Schema to C++ Compiler</p> |
1145 |
-+ <p>xsdcxx - W3C XML Schema to C++ Compiler</p> |
1146 |
- |
1147 |
- <h1>SYNOPSIS</h1> |
1148 |
- |
1149 |
- <dl id="synopsis"> |
1150 |
-- <dt><code><b>xsd</b> <i>command</i> [<i>options</i>] <i>file</i> [<i>file</i> ...]</code></dt> |
1151 |
-- <dt><code><b>xsd help</b> [<i>command</i>]</code></dt> |
1152 |
-- <dt><code><b>xsd version</b></code></dt> |
1153 |
-+ <dt><code><b>xsdcxx</b> <i>command</i> [<i>options</i>] <i>file</i> [<i>file</i> ...]</code></dt> |
1154 |
-+ <dt><code><b>xsdcxx help</b> [<i>command</i>]</code></dt> |
1155 |
-+ <dt><code><b>xsdcxx version</b></code></dt> |
1156 |
- </dl> |
1157 |
- |
1158 |
- <h1>DESCRIPTION</h1> |
1159 |
- |
1160 |
-- <p><code><b>xsd</b></code> generates vocabulary-specific, statically-typed |
1161 |
-+ <p><code><b>xsdcxx</b></code> generates vocabulary-specific, statically-typed |
1162 |
- C++ mapping from W3C XML Schema definitions. Particular mapping to |
1163 |
- produce is selected by a <code><i>command</i></code>. Each mapping has |
1164 |
- a number of mapping-specific <code><i>options</i></code> that should |
1165 |
-@@ -104,7 +104,7 @@ |
1166 |
- |
1167 |
- <dt><code><b>help</b></code></dt> |
1168 |
- <dd>Print usage information and exit. Use |
1169 |
-- <p><code><b>xsd help</b> <i>command</i></code></p> |
1170 |
-+ <p><code><b>xsdcxx help</b> <i>command</i></code></p> |
1171 |
- for command-specific help. |
1172 |
- </dd> |
1173 |
- |
1174 |
-@@ -174,7 +174,7 @@ |
1175 |
- |
1176 |
- <p>For example, if you have file <code><b>hello.xsd</b></code> |
1177 |
- with namespace <code><b>http://example.com/hello</b></code> and you run |
1178 |
-- <code><b>xsd</b></code> on this file, then the string in question |
1179 |
-+ <code><b>xsdcxx</b></code> on this file, then the string in question |
1180 |
- will be:</p> |
1181 |
- |
1182 |
- <p><code><b>hello.xsd. http://example.com/hello</b></code></p> |
1183 |
-@@ -1575,7 +1575,7 @@ namespace .* |
1184 |
- <h1>DIAGNOSTICS</h1> |
1185 |
- |
1186 |
- <p>If the input file is not a valid W3C XML Schema definition, |
1187 |
-- <code><b>xsd</b></code> will issue diagnostic messages to STDERR |
1188 |
-+ <code><b>xsdcxx</b></code> will issue diagnostic messages to STDERR |
1189 |
- and exit with non-zero exit code.</p> |
1190 |
- |
1191 |
- <h1>BUGS</h1> |
1192 |
|
1193 |
diff --git a/dev-cpp/xsd/xsd-3.3.0-r3.ebuild b/dev-cpp/xsd/xsd-3.3.0-r3.ebuild |
1194 |
deleted file mode 100644 |
1195 |
index f9e2c43..00000000 |
1196 |
--- a/dev-cpp/xsd/xsd-3.3.0-r3.ebuild |
1197 |
+++ /dev/null |
1198 |
@@ -1,142 +0,0 @@ |
1199 |
-# Copyright 1999-2014 Gentoo Foundation |
1200 |
-# Distributed under the terms of the GNU General Public License v2 |
1201 |
-# $Id$ |
1202 |
- |
1203 |
-EAPI=5 |
1204 |
- |
1205 |
-inherit toolchain-funcs eutils versionator |
1206 |
- |
1207 |
-DESCRIPTION="An open-source, cross-platform W3C XML Schema to C++ data binding compiler" |
1208 |
-HOMEPAGE="http://www.codesynthesis.com/products/xsd/" |
1209 |
-SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2" |
1210 |
-LICENSE="GPL-2" |
1211 |
-SLOT="0" |
1212 |
-KEYWORDS="amd64 ~arm ppc ppc64 x86" |
1213 |
-IUSE="ace doc examples test zlib" |
1214 |
- |
1215 |
-RDEPEND=">=dev-libs/xerces-c-3 |
1216 |
- >=dev-libs/boost-1.52.0-r1:=[threads] |
1217 |
- >=dev-cpp/libcult-1.4.6-r1 |
1218 |
- >=dev-cpp/libxsd-frontend-1.18.0-r1 |
1219 |
- >=dev-cpp/libbackend-elements-1.7.2 |
1220 |
- ace? ( dev-libs/ace ) |
1221 |
- zlib? ( sys-libs/zlib )" |
1222 |
-DEPEND="${RDEPEND} |
1223 |
- dev-util/build |
1224 |
- doc? ( app-doc/doxygen )" |
1225 |
- |
1226 |
-src_prepare() { |
1227 |
- epatch \ |
1228 |
- "${FILESDIR}/${PV}-disable_examples_and_tests.patch" \ |
1229 |
- "${FILESDIR}/${PV}-xsdcxx-rename.patch" \ |
1230 |
- "${FILESDIR}/${PV}-fix_include.patch" \ |
1231 |
- "${FILESDIR}/${PV}-fix_tests.patch" \ |
1232 |
- "${FILESDIR}/${PV}-boost-filesystem-v2-deprecation.patch" |
1233 |
-} |
1234 |
- |
1235 |
-src_configure() { |
1236 |
- # Maintainer notes: |
1237 |
- # * xqilla is not required, this is only whether or not to include the xpath |
1238 |
- # examples which require xqilla |
1239 |
- mkdir -p \ |
1240 |
- build/cxx/gnu \ |
1241 |
- build/import/lib{ace,boost,cult,backend-elements,xerces-c,xqilla,xsd-frontend,z} |
1242 |
- |
1243 |
- cat >> build/configuration-dynamic.make <<- EOF |
1244 |
-xsd_with_zlib := $(usex zlib y n) |
1245 |
-xsd_with_ace := $(usex ace y n) |
1246 |
-xsd_with_xdr := y |
1247 |
-xsd_with_dbxml := n |
1248 |
-xsd_with_xqilla := y |
1249 |
-xsd_with_boost_date_time := y |
1250 |
-xsd_with_boost_serialization := y |
1251 |
- EOF |
1252 |
- |
1253 |
- cat >> build/cxx/configuration-dynamic.make <<- EOF |
1254 |
-cxx_id := gnu |
1255 |
-cxx_optimize := n |
1256 |
-cxx_debug := n |
1257 |
-cxx_rpath := n |
1258 |
-cxx_pp_extra_options := |
1259 |
-cxx_extra_options := ${CXXFLAGS} |
1260 |
-cxx_ld_extra_options := ${LDFLAGS} |
1261 |
-cxx_extra_libs := |
1262 |
-cxx_extra_lib_paths := |
1263 |
- EOF |
1264 |
- |
1265 |
- cat >> build/cxx/gnu/configuration-dynamic.make <<- EOF |
1266 |
-cxx_gnu := $(tc-getCXX) |
1267 |
-cxx_gnu_libraries := |
1268 |
-cxx_gnu_optimization_options := |
1269 |
- EOF |
1270 |
- |
1271 |
- cat >> build/import/libace/configuration-dynamic.make <<- EOF |
1272 |
-libace_installed := y |
1273 |
- EOF |
1274 |
- |
1275 |
- cat >> build/import/libbackend-elements/configuration-dynamic.make <<- EOF |
1276 |
-libbackend_elements_installed := y |
1277 |
- EOF |
1278 |
- |
1279 |
- cat >> build/import/libboost/configuration-dynamic.make <<- EOF |
1280 |
-libboost_installed := y |
1281 |
-libboost_system := y |
1282 |
- EOF |
1283 |
- |
1284 |
- cat >> build/import/libcult/configuration-dynamic.make <<- EOF |
1285 |
-libcult_installed := y |
1286 |
- EOF |
1287 |
- |
1288 |
- cat >> build/import/libxerces-c/configuration-dynamic.make <<- EOF |
1289 |
-libxerces_c_installed := y |
1290 |
- EOF |
1291 |
- |
1292 |
- cat >> build/import/libxqilla/configuration-dynamic.make <<- EOF |
1293 |
-libxqilla_installed := y |
1294 |
- EOF |
1295 |
- |
1296 |
- cat >> build/import/libxsd-frontend/configuration-dynamic.make <<- EOF |
1297 |
-libxsd_frontend_installed := y |
1298 |
- EOF |
1299 |
- |
1300 |
- cat >> build/import/libz/configuration-dynamic.make <<- EOF |
1301 |
-libz_installed := y |
1302 |
- EOF |
1303 |
- |
1304 |
- MAKEOPTS+=" verbose=1" |
1305 |
-} |
1306 |
- |
1307 |
-src_compile() { |
1308 |
- default |
1309 |
- if use doc ; then |
1310 |
- emake -C "${S}/documentation/cxx/tree/reference" || die "generating reference docs failed" |
1311 |
- fi |
1312 |
- if use test ; then |
1313 |
- XERCESC_NLS_HOME="${ROOT}usr/share/xerces-c/msg" emake -C "${S}/tests" || die "building tests failed" |
1314 |
- fi |
1315 |
-} |
1316 |
- |
1317 |
-src_install() { |
1318 |
- emake install_prefix="${D}/usr" install || die "emake install failed" |
1319 |
- |
1320 |
- # Renaming binary/manpage to avoid collision with mono-2.0's xsd/xsd2 |
1321 |
- mv "${D}"/usr/bin/xsd{,cxx} |
1322 |
- mv "${D}"/usr/share/man/man1/xsd{,cxx}.1 |
1323 |
- |
1324 |
- rm -rf "${D}/usr/share/doc" |
1325 |
- |
1326 |
- dohtml -r -A xhtml -A pdf documentation/* |
1327 |
- |
1328 |
- dodoc NEWS README FLOSSE documentation/custom-literals.xsd |
1329 |
- newdoc libxsd/README README.libxsd |
1330 |
- newdoc libxsd/FLOSSE FLOSSE.libxsd |
1331 |
- |
1332 |
- if use examples; then |
1333 |
- insinto /usr/share/doc/${PF} |
1334 |
- doins -r examples |
1335 |
- fi |
1336 |
-} |
1337 |
- |
1338 |
-src_test() { |
1339 |
- XERCESC_NLS_HOME="${ROOT}usr/share/xerces-c/msg" emake -C "${S}/tests" test || die "tests failed" |
1340 |
-} |
1341 |
|
1342 |
diff --git a/profiles/package.mask b/profiles/package.mask |
1343 |
index 93d3804..c072438 100644 |
1344 |
--- a/profiles/package.mask |
1345 |
+++ b/profiles/package.mask |
1346 |
@@ -366,7 +366,6 @@ dev-java/jaffl |
1347 |
# David Seifert <soap@g.o> (29 Oct 2016) |
1348 |
# Unmaintained, broken, do not work with GCC 6 |
1349 |
# Bugs #594506, #597780, removal in 30 days. |
1350 |
-<dev-cpp/xsd-4.0.0 |
1351 |
<dev-cpp/libxsd-frontend-2.0.0 |
1352 |
dev-cpp/libfrontend-elements |
1353 |
dev-cpp/libbackend-elements |