From dc78b093bcf2abc346d3b5009fb8f877150f1156 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sat, 8 Oct 2022 20:04:39 +0200 Subject: [PATCH] commoncpp2: fix build with gcc>=11 --- srcpkgs/commoncpp2/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/commoncpp2/template b/srcpkgs/commoncpp2/template index 181a6a9e07b..e6815d97c41 100644 --- a/srcpkgs/commoncpp2/template +++ b/srcpkgs/commoncpp2/template @@ -11,6 +11,8 @@ homepage='http://www.gnu.org/software/commoncpp/' distfiles="${GNU_SITE}/commoncpp/$pkgname-${version}.tar.gz" checksum="53ced4aff74e28a1d8018eb2b4974519028db3c12471ab6dff1c873578c9af4e" +export CXXFLAGS="-std=c++14" + commoncpp2-devel_package() { depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"