public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/freedroidrpg/files/, games-rpg/freedroidrpg/
@ 2024-04-17  0:18 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2024-04-17  0:18 UTC (permalink / raw
  To: gentoo-commits

commit:     f274e3e6733ff211d1e2454c622cc49403f159bb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 17 00:17:30 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 17 00:18:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f274e3e6

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

Closes: https://bugs.gentoo.org/921033
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/freedroidrpg-1.0-AC_INCLUDES_DEFAULT.patch     | 13 +++++++++++++
 games-rpg/freedroidrpg/freedroidrpg-1.0.ebuild           | 16 ++++++++++++----
 2 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/games-rpg/freedroidrpg/files/freedroidrpg-1.0-AC_INCLUDES_DEFAULT.patch b/games-rpg/freedroidrpg/files/freedroidrpg-1.0-AC_INCLUDES_DEFAULT.patch
new file mode 100644
index 000000000000..db9754c7e4c6
--- /dev/null
+++ b/games-rpg/freedroidrpg/files/freedroidrpg-1.0-AC_INCLUDES_DEFAULT.patch
@@ -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])

diff --git a/games-rpg/freedroidrpg/freedroidrpg-1.0.ebuild b/games-rpg/freedroidrpg/freedroidrpg-1.0.ebuild
index 01d5f7f78f03..11cf4a0857d7 100644
--- a/games-rpg/freedroidrpg/freedroidrpg-1.0.ebuild
+++ b/games-rpg/freedroidrpg/freedroidrpg-1.0.ebuild
@@ -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
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-17  0:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-17  0:18 [gentoo-commits] repo/gentoo:master commit in: games-rpg/freedroidrpg/files/, games-rpg/freedroidrpg/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox