* [gentoo-commits] repo/proj/guru:dev commit in: games-puzzle/atris/files/, games-puzzle/atris/
@ 2023-07-13 21:43 Samuel Bauer
0 siblings, 0 replies; only message in thread
From: Samuel Bauer @ 2023-07-13 21:43 UTC (permalink / raw
To: gentoo-commits
commit: 25e2524453f91567cabbccd8261fc90ec89b0425
Author: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
AuthorDate: Thu Jul 13 21:43:31 2023 +0000
Commit: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
CommitDate: Thu Jul 13 21:43:31 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=25e25244
games-puzzle/atris: modernize autotools and do not use implicit
Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr>
games-puzzle/atris/atris-1.0.7.ebuild | 8 +++++++-
games-puzzle/atris/files/atris-1.0.7-no-implicit.patch | 11 +++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/games-puzzle/atris/atris-1.0.7.ebuild b/games-puzzle/atris/atris-1.0.7.ebuild
index dc61f8b20..1d21cf591 100644
--- a/games-puzzle/atris/atris-1.0.7.ebuild
+++ b/games-puzzle/atris/atris-1.0.7.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit desktop
+inherit autotools desktop
DESCRIPTION="Alizarin tetris"
HOMEPAGE="https://www.wkiri.com/projects/atris/"
@@ -26,8 +26,14 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-fno-common.patch
"${FILESDIR}"/${P}-path-and-fullscreen.patch
+ "${FILESDIR}"/${P}-no-implicit.patch
)
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_install() {
dobin atris
insinto /usr/share/${PN}
diff --git a/games-puzzle/atris/files/atris-1.0.7-no-implicit.patch b/games-puzzle/atris/files/atris-1.0.7-no-implicit.patch
new file mode 100644
index 000000000..68c796f2b
--- /dev/null
+++ b/games-puzzle/atris/files/atris-1.0.7-no-implicit.patch
@@ -0,0 +1,11 @@
+--- a/configure.in
++++ b/configure.in
+@@ -69,7 +69,7 @@
+ :,
+ AC_MSG_ERROR([*** SDL version $SDL_VERSION not found! Get it from http://www.libsdl.org ])
+ )
+-CFLAGS="$CFLAGS -Wall -Wimplicit -Wsign-compare -Wpointer-arith $SDL_CFLAGS -DATRIS_LIBDIR=\\\"$GAME_INSTALLDIR\\\""
++CFLAGS="$CFLAGS -Wall -Wsign-compare -Wpointer-arith $SDL_CFLAGS -DATRIS_LIBDIR=\\\"$GAME_INSTALLDIR\\\""
+ LIBS="$LIBS $SDL_LIBS"
+
+ # Finally create all the generated files
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-13 21:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-13 21:43 [gentoo-commits] repo/proj/guru:dev commit in: games-puzzle/atris/files/, games-puzzle/atris/ Samuel Bauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox