mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
games-puzzle/atris: modernize autotools and do not use implicit
Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
@@ -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}
|
||||
|
||||
11
games-puzzle/atris/files/atris-1.0.7-no-implicit.patch
Normal file
11
games-puzzle/atris/files/atris-1.0.7-no-implicit.patch
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user