* [gentoo-commits] repo/gentoo:master commit in: app-text/writerperfect/, app-text/writerperfect/files/
@ 2019-06-10 10:36 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2019-06-10 10:36 UTC (permalink / raw
To: gentoo-commits
commit: 7a2c4ef473ba9bcca4126a23ad4b6149746fb565
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 10 10:35:12 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jun 10 10:36:05 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a2c4ef4
app-text/writerperfect: Fix build with USE gsf
Closes: https://bugs.gentoo.org/687788
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../files/writerperfect-0.9.6-gsf-buildfix.patch | 14 ++++++++++++++
app-text/writerperfect/writerperfect-0.9.6.ebuild | 10 ++++++----
2 files changed, 20 insertions(+), 4 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 00000000000..0c689ec0b7f
--- /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)
diff --git a/app-text/writerperfect/writerperfect-0.9.6.ebuild b/app-text/writerperfect/writerperfect-0.9.6.ebuild
index b6dba7c029d..4079835b3f7 100644
--- a/app-text/writerperfect/writerperfect-0.9.6.ebuild
+++ b/app-text/writerperfect/writerperfect-0.9.6.ebuild
@@ -12,6 +12,11 @@ SLOT="0"
KEYWORDS="amd64 ~x86 ~x86-linux ~x86-solaris"
IUSE="abiword +cdr debug ebook epub freehand gsf keynote +mspub +mwaw pagemaker qxp +visio +wpd +wpg +wps zmf"
+# configure fails if no import library is selected...
+REQUIRED_USE="
+ || ( abiword cdr ebook freehand keynote mspub mwaw pagemaker qxp visio wpd wpg wps zmf )
+"
+
# FIXME: librvngabw
BDEPEND="
virtual/pkgconfig
@@ -39,10 +44,7 @@ DEPEND="
"
RDEPEND="${DEPEND}"
-REQUIRED_USE="
- || ( abiword cdr ebook freehand keynote mspub mwaw pagemaker qxp visio wpd wpg wps zmf )
-"
-# configure fails if no import library is selected...
+PATCHES=( "${FILESDIR}/${P}-gsf-buildfix.patch" )
src_configure() {
local myeconfargs=(
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-06-10 10:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-10 10:36 [gentoo-commits] repo/gentoo:master commit in: app-text/writerperfect/, app-text/writerperfect/files/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox