From 1c33e521c460dc40899ce7bc919602b842ce27e2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 Mar 2023 23:52:45 +0000 Subject: gentoo auto-resync : 05:03:2023 - 23:52:45 --- games-puzzle/xblockout/Manifest | 3 +- .../files/xblockout-1.1.6-configure-clang16.patch | 19 +++++++ games-puzzle/xblockout/xblockout-1.1.6-r2.ebuild | 65 ---------------------- games-puzzle/xblockout/xblockout-1.1.6-r3.ebuild | 65 ++++++++++++++++++++++ 4 files changed, 86 insertions(+), 66 deletions(-) create mode 100644 games-puzzle/xblockout/files/xblockout-1.1.6-configure-clang16.patch delete mode 100644 games-puzzle/xblockout/xblockout-1.1.6-r2.ebuild create mode 100644 games-puzzle/xblockout/xblockout-1.1.6-r3.ebuild (limited to 'games-puzzle/xblockout') diff --git a/games-puzzle/xblockout/Manifest b/games-puzzle/xblockout/Manifest index a70d2e41558e..55782453e72a 100644 --- a/games-puzzle/xblockout/Manifest +++ b/games-puzzle/xblockout/Manifest @@ -1,4 +1,5 @@ +AUX xblockout-1.1.6-configure-clang16.patch 465 BLAKE2B 8f1ed90b83dd9ec1d5e558f4a10987dce5eb574607b5d3c13d7d27f100db434f5e1d581cc31fd790342f3beeb8815c8e14772af0a6ac4f9b2d183893bd23c750 SHA512 37b811669fc5cc15fd2434c06180b5908a71ec1ef3523302fde25e50dfc5ca8b7716324055ba8fa53ba122ceccb2c32915968574575e493a3ef50c9f0c0fc285 AUX xblockout-1.1.6-font.patch 1535 BLAKE2B 5ae0fffb0d04c69123bb0c1098bcbaf2053551530d9f7f6f001ae693d4826148d16f4793009c83b286a7c9df8669e507145e39f2c7aa6bf4638ddc1e97bab15b SHA512 f74245e8d97859fa692c82f69657a77d31e84f249b5d29e23b16f072d596e85a51800f4af4578ba194151a6d0c5b577bad7a40a95d0477f31d2ae8147bec585d DIST xbl-1.1.6.tar.gz 136504 BLAKE2B 253c4a950def66abaef3547596b569542ea0dcd180fa5e81a7cb581d9dc23b2038b39c1059ddd36cfc89275ef3fb2a25d174ada71ab1818e408818613559a33e SHA512 96bf0460863698136a61b43260feed0e90e7ca5b6613d54c8ca98f51557a3d235597eeab46141cd6771aa0bf4fe019c5e4291dd826338e186cc905e3837531e0 -EBUILD xblockout-1.1.6-r2.ebuild 1306 BLAKE2B 9ab7a3c65fca5b98d06b8db03e2ab2d957e3253de6a0e916782eb94d808b4e4a778aef4250ee93b3900456fecdf421f872a96fd8fb0d2897d7a663e6e41ba2f9 SHA512 43b4d8c77cfa59d6af9b811b256d931d87adcf9628e1ca01f088cc9fd797e53d173c191f33a06286baab360bbd3792a1ef644ab3cf28dcd1de44de0860f1bf44 +EBUILD xblockout-1.1.6-r3.ebuild 1349 BLAKE2B b6008030de4f480e08f227bc21b06193454a601b6ce3c8ddd1cad6aa2e9798b4d56c148b4328833a0fe122cd9b3b1f5e8643a3551bea283ab4e95ea431d2740f SHA512 041ac373b5b12c3794051a2feeb20ef0b0f674e2879b06858a54193c32acda156b87ece176358489df442825378fc5e65cf9b0c9eaab2fa8850b206756703b2f MISC metadata.xml 250 BLAKE2B 8d44bd4c6e7d6491273e2015e36ddac74af7b94a124fd240ff030e16430f5c85e53ab812f0e3e94bb2e6d138f39b512bbe01ff98b0081cacc21a02d648ec7643 SHA512 80ac07a3cac10ad2e72e9989a130b7d2073934fe92914a9db2af4d0e769d4bf537770f8faba0654bbd64a7e85ee38cf1f9d03b4b9cd322864b1b2bb35087d610 diff --git a/games-puzzle/xblockout/files/xblockout-1.1.6-configure-clang16.patch b/games-puzzle/xblockout/files/xblockout-1.1.6-configure-clang16.patch new file mode 100644 index 000000000000..af322fedd337 --- /dev/null +++ b/games-puzzle/xblockout/files/xblockout-1.1.6-configure-clang16.patch @@ -0,0 +1,19 @@ +https://bugs.gentoo.org/899012 +--- a/configure.in ++++ b/configure.in +@@ -127,6 +127,7 @@ dnl AC_TRY_COMPILE("Prototypes",,extern int y(int z);y(5);}y(z)int z;{,CFLA="$CF + + AC_TEST_PROGRAM([ + #include ++#include + int main() + { + fd_set i,j,k ; +@@ -151,6 +152,7 @@ AC_TEST_PROGRAM([ + #include + #include + #include ++#include + + volatile int c = 0 ; + void fct(i) int i ; { c++ ; signal(SIGALRM, fct) ; } diff --git a/games-puzzle/xblockout/xblockout-1.1.6-r2.ebuild b/games-puzzle/xblockout/xblockout-1.1.6-r2.ebuild deleted file mode 100644 index 914ab6d1ac1c..000000000000 --- a/games-puzzle/xblockout/xblockout-1.1.6-r2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools desktop flag-o-matic toolchain-funcs - -DESCRIPTION="X Window block dropping game in 3 Dimension" -HOMEPAGE="http://perso.univ-lyon1.fr/thierry.excoffier/XBL/" -SRC_URI="http://perso.univ-lyon1.fr/thierry.excoffier/XBL/xbl-${PV}.tar.gz" - -LICENSE="GPL-1" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - x11-libs/libX11 - x11-libs/libXext -" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/xbl-${PV}" - -PATCHES=( - "${FILESDIR}"/${P}-font.patch -) - -src_prepare() { - default - sed -i \ - -e '/^CC/d' \ - -e 's:-lm:-lm -lX11:' \ - -e '/DGROUP_GID/d' \ - -e 's:-g$:$(GENTOO_CFLAGS):' \ - Makefile.in || die - # Don't know about other archs. --slarti - use amd64 && filter-flags "-fweb" - - mv configure.in configure.ac || die - eautoreconf -} - -src_compile() { - emake \ - USE_SETGID= \ - SCOREDIR="${EPREFIX}/usr/share/${PN}" \ - RESOURCEDIR="${EPREFIX}/usr/share/${PN}" \ - LDOPTIONS="${LDFLAGS}" \ - GENTOO_CFLAGS="${CFLAGS}" \ - CC="$(tc-getCC)" -} - -src_install() { - newbin bl xbl - - insinto /usr/share/${PN} - newins Xbl.ad Xbl - - newman xbl.man xbl.6 - dodoc README xbl-README - HTML_DOCS="*.html *.gif" einstalldocs - - newicon xbl-game.gif ${PN}.gif - make_desktop_entry xbl XBlockOut /usr/share/pixmaps/${PN}.gif -} diff --git a/games-puzzle/xblockout/xblockout-1.1.6-r3.ebuild b/games-puzzle/xblockout/xblockout-1.1.6-r3.ebuild new file mode 100644 index 000000000000..f433fd8aaccd --- /dev/null +++ b/games-puzzle/xblockout/xblockout-1.1.6-r3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools desktop flag-o-matic toolchain-funcs + +DESCRIPTION="X Window block dropping game in 3 Dimension" +HOMEPAGE="http://perso.univ-lyon1.fr/thierry.excoffier/XBL/" +SRC_URI="http://perso.univ-lyon1.fr/thierry.excoffier/XBL/xbl-${PV}.tar.gz" +S="${WORKDIR}/xbl-${PV}" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXext +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-font.patch + "${FILESDIR}"/${P}-configure-clang16.patch +) + +src_prepare() { + default + sed -i \ + -e '/^CC/d' \ + -e 's:-lm:-lm -lX11:' \ + -e '/DGROUP_GID/d' \ + -e 's:-g$:$(GENTOO_CFLAGS):' \ + Makefile.in || die + # Don't know about other archs. --slarti + use amd64 && filter-flags "-fweb" + + mv configure.in configure.ac || die + eautoreconf +} + +src_compile() { + emake \ + USE_SETGID= \ + SCOREDIR="${EPREFIX}/usr/share/${PN}" \ + RESOURCEDIR="${EPREFIX}/usr/share/${PN}" \ + LDOPTIONS="${LDFLAGS}" \ + GENTOO_CFLAGS="${CFLAGS}" \ + CC="$(tc-getCC)" +} + +src_install() { + newbin bl xbl + + insinto /usr/share/${PN} + newins Xbl.ad Xbl + + newman xbl.man xbl.6 + dodoc README xbl-README + HTML_DOCS="*.html *.gif" einstalldocs + + newicon xbl-game.gif ${PN}.gif + make_desktop_entry xbl XBlockOut /usr/share/pixmaps/${PN}.gif +} -- cgit v1.2.3