libpagemaker: fix build with gcc-8.2.0

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-08-09 16:56:48 +02:00
parent b1060b2917
commit 609761db71
No known key found for this signature in database
GPG key ID: 6764EC32352D0647

View file

@ -12,6 +12,10 @@ homepage="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz" distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=66adacd705a7d19895e08eac46d1e851332adf2e736c566bef1164e7a442519d checksum=66adacd705a7d19895e08eac46d1e851332adf2e736c566bef1164e7a442519d
if [ "$XBPS_GCC_VERSION_MAJOR" -ge 8 ]; then
CXXFLAGS+=" -Wno-catch-value"
fi
libpagemaker-devel_package() { libpagemaker-devel_package() {
depends="libpagemaker>=${version}_${revision} librevenge-devel" depends="libpagemaker>=${version}_${revision} librevenge-devel"
short_desc+=" - development files" short_desc+=" - development files"