wok-current view libxml++/stuff/build_with_gcc6.patch @ rev 25727

Add miss stuff folder for libxml++, dbus-c++
author Stanislas Leduc <shann@slitaz.org>
date Tue Nov 05 13:46:37 2024 +0000 (2 weeks ago)
parents
children
line source
1 --- a/libxml++/io/istreamparserinputbuffer.cc
2 +++ b/libxml++/io/istreamparserinputbuffer.cc
3 @@ -39,6 +39,6 @@
5 bool IStreamParserInputBuffer::do_close()
6 {
7 - return input_;
8 + return bool(input_);
9 }
10 }
11 --- a/libxml++/io/ostreamoutputbuffer.cc
12 +++ b/libxml++/io/ostreamoutputbuffer.cc
13 @@ -29,13 +29,13 @@
14 // here we rely on the ostream implicit conversion to boolean, to know if the stream can be used and/or if the write succeded.
15 if(output_)
16 output_.write(buffer, len);
17 - return output_;
18 + return bool(output_);
19 }
21 bool OStreamOutputBuffer::do_close()
22 {
23 if(output_)
24 output_.flush();
25 - return output_;
26 + return bool(output_);
27 }
28 }