Fixed kword build error for new versions of libpaper-2.0.x

Signed-off-by: ormorph <roma251078@mail.ru>
pull/285/head
ormorph 2 years ago
parent a19d584e19
commit 9d8ffc347d

@ -0,0 +1,11 @@
--- a/filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp
+++ b/filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp
@@ -146,7 +146,7 @@
displayCIDFonts = new GHash();
displayNamedCIDFonts = new GHash();
#ifdef HAVE_PAPER_H
- char *paperName;
+ const char *paperName;
const struct paper *paperType;
paperinit();
if ((paperName = systempapername())) {

@ -44,6 +44,7 @@ KMCOPYLIB="libkformula lib/kformula
libkspreadcommon kspread"
src_prepare() {
eapply "${FILESDIR}/kword-libpaper.patch"
local search_path="${TDEDIR}/${get_libdir}"
local libname dirname dirlist x
libname=""

Loading…
Cancel
Save