summaryrefslogtreecommitdiff
path: root/app-text/writerperfect/files/writerperfect-0.9.6-gsf-buildfix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/writerperfect/files/writerperfect-0.9.6-gsf-buildfix.patch')
-rw-r--r--app-text/writerperfect/files/writerperfect-0.9.6-gsf-buildfix.patch14
1 files changed, 14 insertions, 0 deletions
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)