summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-13 23:16:00 +0000
committerSam James <sam@gentoo.org>2023-02-13 23:16:00 +0000
commitb639f110582b6293a0904f49f861de5f7d6305c2 (patch)
tree882a2c56b55b7c349f58a1846da8fab34305558e /app-admin
parentapp-accessibility/speech-tools: fix build w/ clang 16 (diff)
downloadgentoo-b639f110582b6293a0904f49f861de5f7d6305c2.tar.gz
gentoo-b639f110582b6293a0904f49f861de5f7d6305c2.tar.bz2
gentoo-b639f110582b6293a0904f49f861de5f7d6305c2.zip
app-admin/logmon: fix build w/ clang 16
Closes: https://bugs.gentoo.org/894206 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/logmon/logmon-0.4.4-r1.ebuild11
1 files 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 735050298861..9aaa2ca57d66 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