From b639f110582b6293a0904f49f861de5f7d6305c2 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 13 Feb 2023 23:16:00 +0000 Subject: [PATCH] app-admin/logmon: fix build w/ clang 16 Closes: https://bugs.gentoo.org/894206 Signed-off-by: Sam James --- app-admin/logmon/logmon-0.4.4-r1.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app-admin/logmon/logmon-0.4.4-r1.ebuild b/app-admin/logmon/logmon-0.4.4-r1.ebuild index 735050298861c..9aaa2ca57d66e 100644 --- a/app-admin/logmon/logmon-0.4.4-r1.ebuild +++ b/app-admin/logmon/logmon-0.4.4-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools +inherit autotools flag-o-matic MY_P="LogMon-${PV}" DESCRIPTION="Split-screen terminal/ncurses based log viewer" @@ -38,6 +38,13 @@ src_prepare() { eautoreconf } +src_configure() { + # Uses removed 'register' keyword, bug #894206 + append-cxxflags -std=c++14 + + econf +} + src_install() { dobin logmon