commit:     154f5f968ba31121c46fcfe9cf9638ca0e4b3e08
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 28 00:14:52 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Apr 28 00:15:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=154f5f96

sys-process/incron: force C++14

Closes: https://bugs.gentoo.org/786189
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 sys-process/incron/incron-0.5.12_p20191114-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-process/incron/incron-0.5.12_p20191114-r1.ebuild 
b/sys-process/incron/incron-0.5.12_p20191114-r1.ebuild
index 7e7ab9ba0fb..e79ad35d10d 100644
--- a/sys-process/incron/incron-0.5.12_p20191114-r1.ebuild
+++ b/sys-process/incron/incron-0.5.12_p20191114-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-inherit linux-info systemd toolchain-funcs
+inherit flag-o-matic linux-info systemd toolchain-funcs
 
 COMMIT="1eedfbc9b318372efd119fd17f4abdbde561a53d"
 S="${WORKDIR}/${PN}-${COMMIT}"
@@ -39,6 +39,9 @@ src_prepare() {
 }
 
 src_compile() {
+       # code is not C++17 ready
+       append-cxxflags -std=c++14
+
        emake CXX=$(tc-getCXX)
 }
 

Reply via email to