From 609761db71d7f49843e72e1d3dbc47c1a97e89ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 9 Aug 2018 16:56:48 +0200 Subject: [PATCH] libpagemaker: fix build with gcc-8.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/libpagemaker/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/libpagemaker/template b/srcpkgs/libpagemaker/template index b8ba2f74e9..83dc34d3b5 100644 --- a/srcpkgs/libpagemaker/template +++ b/srcpkgs/libpagemaker/template @@ -12,6 +12,10 @@ homepage="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker" distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz" checksum=66adacd705a7d19895e08eac46d1e851332adf2e736c566bef1164e7a442519d +if [ "$XBPS_GCC_VERSION_MAJOR" -ge 8 ]; then + CXXFLAGS+=" -Wno-catch-value" +fi + libpagemaker-devel_package() { depends="libpagemaker>=${version}_${revision} librevenge-devel" short_desc+=" - development files"