From a8b01fd62375e0df65d5f8f20c5ee142ec6739b6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 5 Nov 2022 03:17:06 +0000 Subject: gentoo auto-resync : 05:11:2022 - 03:17:06 --- games-action/Manifest.gz | Bin 14722 -> 14722 bytes games-action/geki2-KXL/Manifest | 5 +- .../geki2-KXL/files/geki2-KXL-2.0.3-clang.patch | 8 +-- .../geki2-KXL/files/geki2-KXL-2.0.3-clang16.patch | 14 ++++++ games-action/geki2-KXL/geki2-KXL-2.0.3-r4.ebuild | 53 -------------------- games-action/geki2-KXL/geki2-KXL-2.0.3-r5.ebuild | 54 +++++++++++++++++++++ 6 files changed, 72 insertions(+), 62 deletions(-) create mode 100644 games-action/geki2-KXL/files/geki2-KXL-2.0.3-clang16.patch delete mode 100644 games-action/geki2-KXL/geki2-KXL-2.0.3-r4.ebuild create mode 100644 games-action/geki2-KXL/geki2-KXL-2.0.3-r5.ebuild (limited to 'games-action') diff --git a/games-action/Manifest.gz b/games-action/Manifest.gz index 895e21b108ab..eda318cbaff4 100644 Binary files a/games-action/Manifest.gz and b/games-action/Manifest.gz differ diff --git a/games-action/geki2-KXL/Manifest b/games-action/geki2-KXL/Manifest index 2366e744bf01..da08ce920cb5 100644 --- a/games-action/geki2-KXL/Manifest +++ b/games-action/geki2-KXL/Manifest @@ -1,6 +1,7 @@ AUX geki2-KXL-2.0.3-cflags.patch 302 BLAKE2B 3dbb6703d2aca0d3d0331fba2b5e0a592ee9026b4cfbad5572ccfee3a754e0ed44c43ecb32d7e4f85accf3be6202e576b96c84f510b271156939e56125082008 SHA512 a1f4aa507c730b20723d1fbf213a6e12fb84a43596da21be50d8501a2164114b05bb771584b926fd343b841a62aab8053b06ef31fa9c1ba2f7358ff1bbf80b6d -AUX geki2-KXL-2.0.3-clang.patch 466 BLAKE2B f9bcab21f2d72e10e162f3b9ca0a49d661b0d023a328a95acd323c387683db482931cc60e411fa7f3dbd03357c632cdfb3f73c20c169ec3a9820bd3559d91c78 SHA512 772f4030127fd7b624e55884dce1455bdc261b4e982f0f849b537a5b4397d9f7405ca32371158af2dfcf5a58cecab70561e7e45ff1041f2ef310c9d8792291c4 +AUX geki2-KXL-2.0.3-clang.patch 279 BLAKE2B d146d9ea36e25bbf899a71389e05c350df53ca00e54ff348c4590a44f446ee04c0e5cac7607cf1c51fcc9372da426ca87dd32f752eb4c154fd5163c285a9a02d SHA512 ca33f7e8c1a8e54a85d713ebd5ce2f98494d3339ae98c409a693b70a0491a94559c224edbca3e9823bf86a5b4f78d9dba18b81a5ad4a12d442513df4dcff055a +AUX geki2-KXL-2.0.3-clang16.patch 287 BLAKE2B a4357c6ea20aa34e42cd41a3a32bf5cced1c0f3822c3646990ce1cffe4af423535f5e4c036f73247c5ed94c3dcc1a6fecca067f9ba39f8e2caf6e3f75925c4e6 SHA512 9defb506144e238e42e0ce0d18090f17e6011b945b1be2cba0ed0622c92831d21ae6f6d99bd779e8c1ce906141b87eb57646a7f3514c4e42a4adc3557608a445 DIST geki2-KXL-2.0.3.tar.gz 708419 BLAKE2B 4b155a518e8dc662ff831c25ec83e3c2f912403f21ca048310b6351e489182ede7001804a5cfc6df475a8291fe37596483680c601e1149ec2968ba6837ecf6b2 SHA512 15d97e72f7490b0a1fa32f3ce002f99fe88183664cb3833bb6a2513de26a0dfb0cd2e723c59d0b6bdd9620b200da2e0e7612d44c02fd1be8721441417a9cb3e5 DIST geki2-KXL.png 883 BLAKE2B 584a8d91d3c6c5fc924a1f8aed1e52c621dd68b0ea149d58ce17251e8caa0b092bd7cf880d3023338b97d3bbb2a30223ed303ed5f511f8e533fc0fa6b168aec2 SHA512 20d58e6cc3fd5b6283e6042f8660c73b5a938157ab871dd78e7a2ea2c1187ecae63bcfd46b885255181028531ebbba2c2bf93138e311adf7be10026497a85b74 -EBUILD geki2-KXL-2.0.3-r4.ebuild 1053 BLAKE2B 9d85a2561aa50f2723600b7efd476e3dd2573dfbe18f5a5314286e33cbd451319cf9df2f95192f6d8f47cade16f4945d64960526161eb00be023d01210b1b4b7 SHA512 00746762f9f49025b8fc68023874bba6dc9509bde28e3c42a35a2314c81c2bc01e6bdb5946fd790c1da4ec76dd069edabd42b6183d04cd98a90bcaaf66766c9e +EBUILD geki2-KXL-2.0.3-r5.ebuild 1087 BLAKE2B 4b552fd1aa8ae9e41a05318131ba2a158cb83c6a15b233bb919ecd1acb3778979267bc1ed800f1b6f82d8ff0246fff5e50fd696f726caf5dfaab32d2dcd37d0c SHA512 0476eddd8f9542b79263860ed524475c331e62240474f29ecfee57ff26a6eb6ef874188b8cd402012f7f9ab2d9c303d1e789b462da0989803fb264d016e6c26f MISC metadata.xml 250 BLAKE2B 8d44bd4c6e7d6491273e2015e36ddac74af7b94a124fd240ff030e16430f5c85e53ab812f0e3e94bb2e6d138f39b512bbe01ff98b0081cacc21a02d648ec7643 SHA512 80ac07a3cac10ad2e72e9989a130b7d2073934fe92914a9db2af4d0e769d4bf537770f8faba0654bbd64a7e85ee38cf1f9d03b4b9cd322864b1b2bb35087d610 diff --git a/games-action/geki2-KXL/files/geki2-KXL-2.0.3-clang.patch b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-clang.patch index 5d621e2de638..ff7f45fc09f3 100644 --- a/games-action/geki2-KXL/files/geki2-KXL-2.0.3-clang.patch +++ b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-clang.patch @@ -1,13 +1,7 @@ -Use void so that clang does not complain about missing (unused) -return value, and also add missing string.h. https://bugs.gentoo.org/730848 --- a/src/ranking.c +++ b/src/ranking.c -@@ -1,2 +1,3 @@ - #include -+#include - #include "geki2.h" -@@ -7,3 +8,3 @@ +@@ -7,3 +7,3 @@ **********************/ -int ScoreRanking(void) +void ScoreRanking(void) diff --git a/games-action/geki2-KXL/files/geki2-KXL-2.0.3-clang16.patch b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-clang16.patch new file mode 100644 index 000000000000..fb7892f3b68d --- /dev/null +++ b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-clang16.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/874639 +--- a/src/geki2.h ++++ b/src/geki2.h +@@ -11,2 +11,4 @@ + #include ++#include ++#include + #include +--- a/src/load.h ++++ b/src/load.h +@@ -11,2 +11,3 @@ + void LoadStageData(void); ++void UnLoadStageData(void); + diff --git a/games-action/geki2-KXL/geki2-KXL-2.0.3-r4.ebuild b/games-action/geki2-KXL/geki2-KXL-2.0.3-r4.ebuild deleted file mode 100644 index 781b3790bff7..000000000000 --- a/games-action/geki2-KXL/geki2-KXL-2.0.3-r4.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools desktop - -DESCRIPTION="2D length scroll shooting game" -HOMEPAGE="http://triring.net/ps2linux/games/kxl/kxlgames.html" -SRC_URI=" - mirror://gentoo/${P}.tar.gz - mirror://gentoo/${PN}.png" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - acct-group/gamestat - dev-games/KXL" -RDEPEND=" - ${DEPEND} - media-fonts/font-adobe-100dpi - media-fonts/font-bitstream-100dpi" - -PATCHES=( - "${FILESDIR}"/${P}-cflags.patch - "${FILESDIR}"/${P}-clang.patch -) - -src_prepare() { - default - - sed -i "s|DATA_PATH \"/.score\"|\"${EPREFIX}/var/games/${PN}.hs\"|" src/ranking.c || die - - eautoreconf -} - -src_install() { - emake -C data DESTDIR="${D}" install-dataDATA - default - - rm "${ED}"/usr/share/geki2/data/.score - insinto /var/games - newins data/.score ${PN}.hs - - fowners :gamestat /var/games/${PN}.hs /usr/bin/geki2 - fperms g+s /usr/bin/geki2 - fperms 660 /var/games/${PN}.hs - - doicon "${DISTDIR}"/${PN}.png - make_desktop_entry geki2 Geki2 -} diff --git a/games-action/geki2-KXL/geki2-KXL-2.0.3-r5.ebuild b/games-action/geki2-KXL/geki2-KXL-2.0.3-r5.ebuild new file mode 100644 index 000000000000..8f7fda9fe303 --- /dev/null +++ b/games-action/geki2-KXL/geki2-KXL-2.0.3-r5.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools desktop + +DESCRIPTION="2D length scroll shooting game" +HOMEPAGE="http://triring.net/ps2linux/games/kxl/kxlgames.html" +SRC_URI=" + mirror://gentoo/${P}.tar.gz + mirror://gentoo/${PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + acct-group/gamestat + dev-games/KXL" +RDEPEND=" + ${DEPEND} + media-fonts/font-adobe-100dpi + media-fonts/font-bitstream-100dpi" + +PATCHES=( + "${FILESDIR}"/${P}-cflags.patch + "${FILESDIR}"/${P}-clang.patch + "${FILESDIR}"/${P}-clang16.patch +) + +src_prepare() { + default + + sed -i "s|DATA_PATH \"/.score\"|\"${EPREFIX}/var/games/${PN}.hs\"|" src/ranking.c || die + + eautoreconf +} + +src_install() { + emake -C data DESTDIR="${D}" install-dataDATA + default + + rm "${ED}"/usr/share/geki2/data/.score + insinto /var/games + newins data/.score ${PN}.hs + + fowners :gamestat /var/games/${PN}.hs /usr/bin/geki2 + fperms g+s /usr/bin/geki2 + fperms 660 /var/games/${PN}.hs + + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry geki2 Geki2 +} -- cgit v1.2.3