From 2354746907cd855bb3d4341ccca0882df2d0e986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 9 Aug 2018 14:36:23 +0200 Subject: [PATCH] cpp-hocon: fix gcc-8.2.0 build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/cpp-hocon/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/cpp-hocon/template b/srcpkgs/cpp-hocon/template index 8a5340f71c8..c9fbe13a84d 100644 --- a/srcpkgs/cpp-hocon/template +++ b/srcpkgs/cpp-hocon/template @@ -11,3 +11,7 @@ license="Apache-2.0" homepage="https://github.com/puppetlabs/cpp-hocon" distfiles="https://github.com/puppetlabs/cpp-hocon/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=1d771de9342e74115a27355c80a81a510c7851cb1269bac1dd2582c84425652c + +if [ "$XBPS_GCC_VERSION_MAJOR" -ge 8 ]; then + CXXFLAGS+=" -Wno-catch-value" +fi