Skip to content

Commit

Permalink
app-admin/logmon: fix build w/ clang 16
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/894206
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Feb 13, 2023
1 parent 50f5b53 commit b639f11
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions app-admin/logmon/logmon-0.4.4-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit b639f11

Please sign in to comment.