From b8b7cc7bcd49a5e9b145c9ff78788b32cc7dad57 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Thu, 6 Oct 2022 19:20:43 +0200 Subject: [PATCH] incron: fix build with gcc>=12 --- srcpkgs/incron/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/incron/template b/srcpkgs/incron/template index 22082e50106..e9d0638c414 100644 --- a/srcpkgs/incron/template +++ b/srcpkgs/incron/template @@ -16,6 +16,8 @@ case "$XBPS_TARGET_MACHINE" in *-musl) makedepends="argp-standalone";; esac +export CXXFLAGS="--std=c++14" + do_build() { sed -i 's,sbin,bin,g' Makefile sed -i '1,1i#include ' inotify-cxx.cpp icd-main.cpp