diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-10 18:53:08 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-10 18:53:08 +0000 |
| commit | 149dcbf1904e760ac5ba9d01234a5e393e366efa (patch) | |
| tree | b8b21a706bf7fc1345068666a457495ff3aa4103 /games-arcade | |
| parent | 25bfe7b6ba5701e1db2dea0afd57c0249eaa735f (diff) | |
| download | baldeagleos-repo-149dcbf1904e760ac5ba9d01234a5e393e366efa.tar.gz baldeagleos-repo-149dcbf1904e760ac5ba9d01234a5e393e366efa.tar.xz baldeagleos-repo-149dcbf1904e760ac5ba9d01234a5e393e366efa.zip | |
Adding metadata
Diffstat (limited to 'games-arcade')
| -rw-r--r-- | games-arcade/moleinvasion/files/moleinvasion-0.4-gcc14.patch | 29 | ||||
| -rw-r--r-- | games-arcade/moleinvasion/moleinvasion-0.4-r4.ebuild (renamed from games-arcade/moleinvasion/moleinvasion-0.4-r3.ebuild) | 17 |
2 files changed, 38 insertions, 8 deletions
diff --git a/games-arcade/moleinvasion/files/moleinvasion-0.4-gcc14.patch b/games-arcade/moleinvasion/files/moleinvasion-0.4-gcc14.patch new file mode 100644 index 000000000000..63734f6ef711 --- /dev/null +++ b/games-arcade/moleinvasion/files/moleinvasion-0.4-gcc14.patch @@ -0,0 +1,29 @@ +--- a/editor.c ++++ b/editor.c +@@ -98,7 +98,7 @@ void init() + level_tab=InitList(); + } + +-void perform_mouse_motion(mousex,mousey) ++void perform_mouse_motion(int mousex,int mousey) + { int x,y; + static SDL_Surface* rubber=NULL; + mySprite *sprite; +@@ -134,7 +134,7 @@ void perform_mouse_motion(mousex,mousey) + displaySprite(disp_sprite,g_SDL_screen,0,0); + } + +-void perform_mouse_add(mousex,mousey) ++void perform_mouse_add(int mousex,int mousey) + { int x,y; + mySprite *sprite; + mySprite disp_sprite; +@@ -174,7 +174,7 @@ void perform_mouse_add(mousex,mousey) + AddToList(level_tab,&disp_sprite,sizeof(mySprite)); + } + +-void perform_mouse_del(mousex,mousey) ++void perform_mouse_del(int mousex,int mousey) + { int x,y; + mySprite *sprite; + unsigned int i; diff --git a/games-arcade/moleinvasion/moleinvasion-0.4-r3.ebuild b/games-arcade/moleinvasion/moleinvasion-0.4-r4.ebuild index 3bd4d5e35124..119469eb29a2 100644 --- a/games-arcade/moleinvasion/moleinvasion-0.4-r3.ebuild +++ b/games-arcade/moleinvasion/moleinvasion-0.4-r4.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop toolchain-funcs @@ -10,6 +10,7 @@ HOMEPAGE="http://moleinvasion.tuxfamily.org/" SRC_URI=" ftp://download.tuxfamily.org/minvasion/packages/MoleInvasion-${PV}.tar.bz2 music? ( mirror://gentoo/${PN}-music-20090731.tar.gz )" +S="${WORKDIR}/${P}/src" LICENSE="GPL-2" SLOT="0" @@ -24,7 +25,12 @@ DEPEND=" virtual/opengl" RDEPEND="${DEPEND}" -S="${WORKDIR}/${P}/src" +PATCHES=( + "${FILESDIR}"/${P}-opengl.patch + "${FILESDIR}"/${P}-underlink.patch + "${FILESDIR}"/${P}-fno-common.patch + "${FILESDIR}"/${P}-gcc14.patch +) src_prepare() { default @@ -39,11 +45,6 @@ src_prepare() { -e "/^FINALEXEDIR/s:/usr.*:/usr/bin:" \ -e "/^FINALDATADIR/s:/usr.*:/usr/share/${PN}:" \ Makefile || die "sed failed" - - eapply \ - "${FILESDIR}"/${P}-opengl.patch \ - "${FILESDIR}"/${P}-underlink.patch \ - "${FILESDIR}"/${P}-fno-common.patch } src_configure() { |
