diff -Nru libfolia-0.13/debian/changelog libfolia-0.13/debian/changelog --- libfolia-0.13/debian/changelog 2016-02-04 04:03:25.000000000 +0000 +++ libfolia-0.13/debian/changelog 2016-08-14 14:53:40.000000000 +0000 @@ -1,3 +1,12 @@ +libfolia (0.13-2+rpi1) stretch-staging; urgency=medium + + * Add explicit cast to bool for return value of + bool Document::save( ostream& os, const string& nsLabel, bool kanon ) + (Closes: 811635) + * Rebuild against new libicu. + + -- Peter Michael Green Sun, 14 Aug 2016 14:53:40 +0000 + libfolia (0.13-2) unstable; urgency=low * Upload to unstable. diff -Nru libfolia-0.13/debian/patches/cast-return-value.patch libfolia-0.13/debian/patches/cast-return-value.patch --- libfolia-0.13/debian/patches/cast-return-value.patch 1970-01-01 00:00:00.000000000 +0000 +++ libfolia-0.13/debian/patches/cast-return-value.patch 2016-08-14 14:53:40.000000000 +0000 @@ -0,0 +1,17 @@ +Description: add return value cast + Add explicit cast to bool for return value of + bool Document::save( ostream& os, const string& nsLabel, bool kanon ) +Author: Peter Michael Green +Bug-Debian: https://bugs.debian.org/811635 + +--- libfolia-0.13.orig/src/document.cxx ++++ libfolia-0.13/src/document.cxx +@@ -315,7 +315,7 @@ namespace folia { + bool Document::save( ostream& os, const string& nsLabel, bool kanon ) { + string s = toXml( nsLabel, kanon ); + os << s << endl; +- return os; ++ return (bool)os; + } + + bool Document::save( const string& fn, const string& nsLabel, bool kanon ) { diff -Nru libfolia-0.13/debian/patches/series libfolia-0.13/debian/patches/series --- libfolia-0.13/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ libfolia-0.13/debian/patches/series 2016-08-14 14:53:40.000000000 +0000 @@ -0,0 +1 @@ +cast-return-value.patch