From 55306060d56c4f730c5e3dd8ec06cee239f46546 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 9 Aug 2018 14:41:14 +0200 Subject: [PATCH] facter: 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/facter/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/facter/template b/srcpkgs/facter/template index 16aaf577224..9c41ba09bbf 100644 --- a/srcpkgs/facter/template +++ b/srcpkgs/facter/template @@ -15,6 +15,10 @@ homepage="http://puppetlabs.com/facter" distfiles="http://downloads.puppetlabs.com/${pkgname}/${pkgname}-${version}.tar.gz" checksum=aafded9846f397bc0c74ab71376f9172f44fc8e5bece243454d2f26c2be073a0 +if [ "$XBPS_GCC_VERSION_MAJOR" -ge 8 ]; then + CXXFLAGS+=" -Wno-catch-value -Wno-stringop-truncation" +fi + post_install() { vlicense LICENSE }