mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
games-puzzle/freesweep: fix configure w/ clang 16
Closes: https://bugs.gentoo.org/899002 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="Console Minesweeper"
|
||||
HOMEPAGE="https://github.com/rwestlund/freesweep"
|
||||
@@ -17,6 +17,14 @@ RDEPEND="sys-libs/ncurses:="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e "s:configure.in:configure.ac:" Makefile.in || die
|
||||
# Clang 16, bug #899002
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LIBS="$($(tc-getPKG_CONFIG) --libs ncurses || die)"
|
||||
}
|
||||
Reference in New Issue
Block a user