diff options
Diffstat (limited to 'app-text/writerperfect')
-rw-r--r-- | app-text/writerperfect/Manifest | 3 | ||||
-rw-r--r-- | app-text/writerperfect/files/writerperfect-0.9.6-gsf-buildfix.patch | 14 | ||||
-rw-r--r-- | app-text/writerperfect/writerperfect-0.9.6.ebuild | 12 |
3 files changed, 23 insertions, 6 deletions
diff --git a/app-text/writerperfect/Manifest b/app-text/writerperfect/Manifest index 935537dd4d39..f48e40004c2c 100644 --- a/app-text/writerperfect/Manifest +++ b/app-text/writerperfect/Manifest @@ -1,5 +1,6 @@ +AUX writerperfect-0.9.6-gsf-buildfix.patch 428 BLAKE2B e141a4fb1a4515d1359d314dd066fa52edea3f5d69f14e06e08a8eef110a57b164011db311b9c6f0d563d7ca6e921d4082e6a61c6ea1d3a871f6d0dcb8049d71 SHA512 9446e3826173909177c091c752666a540aa5edf26aa0e7546b2e7520d64df5e8f4db578e79e6e86fb261118bcadc8f620bd7eee36d5d335812a00151c5dee5bc DIST writerperfect-0.9.5.tar.xz 302176 BLAKE2B 4ef8fd72f01e3c208a59c520440975f38dcf1edc353134721b7f06d042752adad9c825503f5756a74bede2307f7317c28e054dbcb6c5c1000a606822e97d2c8b SHA512 7467a798da362883101780b598e9a673c10f86f29c01ece1438ea524a0413a00928274f87895f3a8ae26f6784cdcc34e0e84039ca591dc3f75b2e25c53744ccc DIST writerperfect-0.9.6.tar.xz 330360 BLAKE2B da566fb8e1aae3708646b49b695cf26c5b64aeda1ca1df08ced2549ca8718840744ab011cb7567d1e371ac8e7ee6cfef6a67ee9837cf38b570a3794dc4682f81 SHA512 4a86a23ae2caa133066279994255d8ca7ee16f40ad646bd8ff434c7e4e1a29cf23db7e811b8eca1823dcf9e2456b2e8dbacf03bd5bc0377638fc52fc7d4495a5 EBUILD writerperfect-0.9.5.ebuild 1761 BLAKE2B ef4e87d22c7ab182cb1f3e9677bbfa12498f2fade4c353bf1ba0093a4c00ae4cb90d2926b99e799e2dc0304e60102f593126cb0da0f3ee2b4746ef43a6fc1e1b SHA512 95591cec04441b34a37e60460eab58ea69641c9876e7074bcdb1dcd25aa1b7fd438dc52c98f61674b151b82eacdc18cc42c6c844390c6f78ccbd299c07b04fd6 -EBUILD writerperfect-0.9.6.ebuild 1893 BLAKE2B d73f7cde6a6ab98dbee7f763bf6dd5e6b43f3b564de23c3277d2296b37e3c111284786e5f6c0ec0d9abe8ae53645dec5104c149e0f5321a3bfa1ee74f4634a4d SHA512 da1374b7b19dca0dd41c5434168d77f3559697fa4c44bb2716c3d2420410888c39e0280a9c7cbbbfd9834a4fe909328c64541bd1f466d784e4f2077b4c37ab37 +EBUILD writerperfect-0.9.6.ebuild 1943 BLAKE2B 6ecd0c967002f1165c12321af04a7b0e1809fdc4ee35a5c30627df0c762363ef3422db37b7706500061bac7d84552c864701f399a1804da577649d1156192b8f SHA512 cd8819bb9791a2d0fbf4d9ac3283d565bc53f1b1171855a59feb898398621057c214e448c7101e75b30b70abeeefedd1990afb8981049d0534c8f64a993d2ebd MISC metadata.xml 1792 BLAKE2B db2026455dd4d1ecb5b0e91a404dbb68556e48568394c41f6b5f928f7dd635f7607f79a8a90b8ca06524a9a0ec399f863373a94f9e1b767dff36fc63488ea7f7 SHA512 911c9be2bc46655e7452189f29ada72faab7800056c88cea3afd81d9fe11330e554bbf27d61fc23789441a80f211c706204585f08baa0f76f461438ce809e575 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) diff --git a/app-text/writerperfect/writerperfect-0.9.6.ebuild b/app-text/writerperfect/writerperfect-0.9.6.ebuild index 5630e1a0c9a5..4079835b3f7f 100644 --- a/app-text/writerperfect/writerperfect-0.9.6.ebuild +++ b/app-text/writerperfect/writerperfect-0.9.6.ebuild @@ -9,9 +9,14 @@ SRC_URI="mirror://sourceforge/libwpd/${P}.tar.xz" LICENSE="|| ( LGPL-2.1 MPL-2.0 )" SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-linux ~x86-solaris" +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=( |