diff options
-rw-r--r-- | textproc/libxml++26/files/patch-libxml++_io_istreamparserinputbuffer.cc | 10 | ||||
-rw-r--r-- | textproc/libxml++26/files/patch-libxml++_io_ostreamoutputbuffer.cc | 18 |
2 files changed, 28 insertions, 0 deletions
diff --git a/textproc/libxml++26/files/patch-libxml++_io_istreamparserinputbuffer.cc b/textproc/libxml++26/files/patch-libxml++_io_istreamparserinputbuffer.cc new file mode 100644 index 000000000000..109e1e543470 --- /dev/null +++ b/textproc/libxml++26/files/patch-libxml++_io_istreamparserinputbuffer.cc @@ -0,0 +1,10 @@ +--- libxml++/io/istreamparserinputbuffer.cc.orig 2010-12-15 10:41:27 UTC ++++ libxml++/io/istreamparserinputbuffer.cc +@@ -39,6 +39,6 @@ namespace xmlpp + + bool IStreamParserInputBuffer::do_close() + { +- return input_; ++ return bool(input_); + } + } diff --git a/textproc/libxml++26/files/patch-libxml++_io_ostreamoutputbuffer.cc b/textproc/libxml++26/files/patch-libxml++_io_ostreamoutputbuffer.cc new file mode 100644 index 000000000000..666d10d74920 --- /dev/null +++ b/textproc/libxml++26/files/patch-libxml++_io_ostreamoutputbuffer.cc @@ -0,0 +1,18 @@ +--- libxml++/io/ostreamoutputbuffer.cc.orig 2010-12-15 10:41:27 UTC ++++ libxml++/io/ostreamoutputbuffer.cc +@@ -29,13 +29,13 @@ namespace xmlpp + // here we rely on the ostream implicit conversion to boolean, to know if the stream can be used and/or if the write succeded. + if(output_) + output_.write(buffer, len); +- return output_; ++ return bool(output_); + } + + bool OStreamOutputBuffer::do_close() + { + if(output_) + output_.flush(); +- return output_; ++ return bool(output_); + } + } |