aboutsummaryrefslogtreecommitdiff
path: root/editors/libreoffice
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2019-02-11 17:10:05 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2019-02-11 17:10:05 +0000
commitfd928f19e0f899bb9d5c038055a1a7b42fbcdccb (patch)
tree3ba7e67672e6da68e14d2308683ddd7b22af74e2 /editors/libreoffice
parent16e13958b160d2237d8197c344596e055d84f93b (diff)
downloadports-fd928f19e0f899bb9d5c038055a1a7b42fbcdccb.tar.gz
ports-fd928f19e0f899bb9d5c038055a1a7b42fbcdccb.zip
Notes
Diffstat (limited to 'editors/libreoffice')
-rw-r--r--editors/libreoffice/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index f94a94fe0794..e8ee47f62837 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -282,6 +282,12 @@ CXXFLAGS_WARN= -Wshadow -Woverloaded-virtual
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/shell/source/unix/exec/shellexec.cxx
+ # Fix with poppler 0.73
+ ${REINPLACE_CMD} -e 's|Guchar|unsigned char|g' \
+ ${WRKSRC}/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx \
+ ${WRKSRC}/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx \
+ ${WRKSRC}/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
+
.if ${COMPILER_FEATURES:Mlibstdc++}
${REINPLACE_CMD} -e 's/gb_CC/gb_CXX/' ${WRKSRC}/solenv/gbuild/platform/unxgcc.mk
.endif