diff options
-rw-r--r-- | games-puzzle/atris/atris-1.0.7.ebuild | 8 | ||||
-rw-r--r-- | games-puzzle/atris/files/atris-1.0.7-no-implicit.patch | 11 |
2 files changed, 18 insertions, 1 deletions
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 |