From fab849d1daed0ba7f2ac497d07985c3dbb692543 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 16 Jun 2019 21:23:20 +0100 Subject: gentoo resync : 16.06.2019 --- .../files/writerperfect-0.9.6-gsf-buildfix.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 app-text/writerperfect/files/writerperfect-0.9.6-gsf-buildfix.patch (limited to 'app-text/writerperfect/files/writerperfect-0.9.6-gsf-buildfix.patch') diff --git a/app-text/writerperfect/files/writerperfect-0.9.6-gsf-buildfix.patch b/app-text/writerperfect/files/writerperfect-0.9.6-gsf-buildfix.patch new file mode 100644 index 000000000000..0c689ec0b7fc --- /dev/null +++ b/app-text/writerperfect/files/writerperfect-0.9.6-gsf-buildfix.patch @@ -0,0 +1,14 @@ +fix build with libgsf +Authored by: David Tardon 2017-12-14 + +--- a/src/lib/OutputFileHelper.cxx ++++ b/src/lib/OutputFileHelper.cxx +@@ -57,7 +57,7 @@ + OutputFileHelperImpl::~OutputFileHelperImpl() + { + #ifdef USE_GSF_OUTPUT +- if (mpOutfile && !gsf_output_close((GsfOutput *) mpOutfile.get())) ++ if (mpOutfile && !gsf_output_close((GsfOutput *) mpOutfile)) + fprintf(stderr, "ERROR : Couldn't close outfile\n"); + + if (mpOutfile) -- cgit v1.2.3