games-rpg/freedroidrpg: drop unnecessary macro from configure.ac

Closes: https://bugs.gentoo.org/921033
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2024-04-17 01:17:30 +01:00
parent 289d48f871
commit f274e3e673
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 25 additions and 4 deletions

View File

@ -0,0 +1,13 @@
AC_INCLUDES_DEFAULT isn't actually needed and it causes a QA warning.
https://bugs.gentoo.org/921033
--- a/configure.ac
+++ b/configure.ac
@@ -402,7 +402,6 @@ dnl Checks for typedefs, structures, and compiler characteristics.
SILENT_BOX([Checking types])
AC_HEADER_DIRENT
-AC_INCLUDES_DEFAULT
AC_PROG_EGREP
AC_CHECK_HEADERS_ONCE([sys/time.h])

View File

@ -1,11 +1,11 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-3 )
PYTHON_COMPAT=( python3_{9..11} )
inherit lua-single python-any-r1 xdg
inherit autotools lua-single python-any-r1 xdg
DESCRIPTION="Modification of the classical Freedroid engine into an RPG"
HOMEPAGE="https://www.freedroid.org/"
@ -30,13 +30,19 @@ RDEPEND="
media-libs/glew:0=
media-libs/libglvnd[X]
)
sound? ( media-libs/sdl-mixer[vorbis] )"
sound? ( media-libs/sdl-mixer[vorbis] )
"
DEPEND="${RDEPEND}"
BDEPEND="
${PYTHON_DEPS}
sys-devel/gettext
app-alternatives/awk
virtual/pkgconfig"
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-1.0-AC_INCLUDES_DEFAULT.patch
)
pkg_setup() {
lua-single_pkg_setup
@ -46,6 +52,8 @@ pkg_setup() {
src_prepare() {
default
eautoreconf
python_fix_shebang src/gen_savestruct.py
rm data/sound/speak.py || die # unused, skip install + python rdep
}