From 0ec1e1dd7867c3dedcbea76c9b6e847d6b388c03 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 11 Feb 2025 00:12:38 +0000 Subject: gentoo auto-resync : 11:02:2025 - 00:12:37 --- games-util/qstat/Manifest | 5 ++- .../qstat/files/qstat-2.14-unneeded-cast.patch | 14 +++++++ games-util/qstat/qstat-2.14-r1.ebuild | 48 ++++++++++++++++++++++ games-util/qstat/qstat-2.14.ebuild | 43 ------------------- games-util/qstat/qstat-2.17.ebuild | 43 +++++++++++++++++++ 5 files changed, 109 insertions(+), 44 deletions(-) create mode 100644 games-util/qstat/files/qstat-2.14-unneeded-cast.patch create mode 100644 games-util/qstat/qstat-2.14-r1.ebuild delete mode 100644 games-util/qstat/qstat-2.14.ebuild create mode 100644 games-util/qstat/qstat-2.17.ebuild (limited to 'games-util/qstat') diff --git a/games-util/qstat/Manifest b/games-util/qstat/Manifest index 8cf314fba287..88553f4bb456 100644 --- a/games-util/qstat/Manifest +++ b/games-util/qstat/Manifest @@ -1,4 +1,7 @@ AUX qstat-2.14-gcc-10.patch 1334 BLAKE2B fa9b03cb80fe5fc480ee7c5c7bddce86ee5c8dddba6c96cf70e14c904652d32bb09a2deed710eabbfb3546beddc69ed962d370f7ff7d3ac2644c9c10b3c4802b SHA512 aa00412a37417b6b16801d0aff67f98b721db9b56f069a0eac0922f31f5bc3eb522ec32c17c93c3e631039584e5cd058ddb80e621d946ae9ddaff5c7b09880b2 +AUX qstat-2.14-unneeded-cast.patch 489 BLAKE2B f1c4eeef81acf65678dc06e6a2fd2eade06156112c14e557443141a8662efb56ef1241e7b7ce7e16c0e02725643366d13d6cb5c78d9ea35de7e13ee8b9b7428b SHA512 2cc5270b1d65e490a65b156b80a65849b95be1f48da57703956d2e1677aa7955b57e945dd3c9fe9bb5dd05a2547a7029460796efb44b7649c61f27b56b29579e DIST qstat-2.14.tar.gz 210440 BLAKE2B 2a33287a69fe63c59a1cb136e84ea29cccd27f4468cb4b38b4e9ce49f28a558dc67793eaa7ead7addd828730e084a15f9684ccba7753852ce1c2795c7c94cb78 SHA512 f2054d74399fe1773a19ca43629e10364fdd87e551459719685c11f38245a05906631b456848b1a3764b4e6843baf654af6a9b174c7b16908b6bcb97ac64c6d6 -EBUILD qstat-2.14.ebuild 834 BLAKE2B 94536d0cefab62330c99e4129d42f65ad427fb87dc587afa22c75e2db36d6e99a638df4aea6bd1913efd4c714e98dcd6ffc6c222468b3e3ca9ef86c39130b235 SHA512 2d648280ef725dc1588c5cdf03fabcc79265d91539605f7cb9722fac0d1423737d53b71a280996b96aa4e1b5d8cc17d91eaf8ad0500899ae37b8e636ea6f8768 +DIST qstat-2.17.tar.gz 233981 BLAKE2B e66aad52931443183ad91b19d5ed775c78babb0a5bd679c57fdf4c0ef604aab4e071bd16f97d151b84eb0b9b9814da271342a3494ec4123c5cf0ca10a8786341 SHA512 880549d220a9a9046910bc2e5564b09349870110c77249b66d2ca77143327c83473da31c00e7b70df45f48e6a5bcb3310487f73983d745a69e6aa6278a125278 +EBUILD qstat-2.14-r1.ebuild 964 BLAKE2B 8bb794f61b7ec927d9a072e00016a13b24a3e76320f858050e5440a101742784e5708ab8206af17106c1e45d293aedf0377d69c4cebcf7d59722168242719593 SHA512 b907ccd36ad492f7a8e95641ac2f9b034941c3130321f7e3572e6090f0104f76cbb8cfedb86e49bfe73991b91f4f880ebd11673b383813217ebdff3c73ccef64 +EBUILD qstat-2.17.ebuild 901 BLAKE2B 3c4a4eb8fd19a0ce9cd9c4877aec7837afbbec203c92c50118c062aee8fe9a639ffbc5e0a9366a6c4304b95addd1a8a15dc6bc6e054b68ba838c0807cc597421 SHA512 c22b0bf0cc51ec45cf2bb88a50913c1a3775266116c67c9ce4d76c27f81dbcdea97dd4a5e91cb26439fd0764fc6ff3950c712644754f486e04a764cc78c3acb9 MISC metadata.xml 393 BLAKE2B 726ea73816df5abd31fda164eaab954ebe13e8dea91e1b5d2fb978f223248adae4a0738a17b44f903dda936a8f6f3846d5f4a0721824e0867f0bf1487df1716d SHA512 f27790c1b7da51c0d17148a45b1c4ce18d90206241ee2e9207bb295650ab6ceda93614ff16cc43cb634b64cf534d4b104c8fadf51a0972ee99fb5d233f94094a diff --git a/games-util/qstat/files/qstat-2.14-unneeded-cast.patch b/games-util/qstat/files/qstat-2.14-unneeded-cast.patch new file mode 100644 index 000000000000..c1bf19b502c5 --- /dev/null +++ b/games-util/qstat/files/qstat-2.14-unneeded-cast.patch @@ -0,0 +1,14 @@ +packet_funcs are already have correct type, no need to cast function pointer to wrong +function pointer +https://bugs.gentoo.org/944360 +--- a/packet_manip.c ++++ b/packet_manip.c +@@ -131,7 +131,7 @@ + } + // Call the server's packet processing method flagging as a combine call + server->combined = 1; +- ret = ((int (*)())server->type->packet_func)(server, combined, datalen); ++ ret = (server->type->packet_func)(server, combined, datalen); + free(combined); + server->combined = 0; + diff --git a/games-util/qstat/qstat-2.14-r1.ebuild b/games-util/qstat/qstat-2.14-r1.ebuild new file mode 100644 index 000000000000..33da72b64bfd --- /dev/null +++ b/games-util/qstat/qstat-2.14-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Server statics collector supporting many FPS games" +HOMEPAGE="https://github.com/Unity-Technologies/qstat" +SRC_URI="https://github.com/Unity-Technologies/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc64 x86" +IUSE="debug" + +RDEPEND="!sys-cluster/torque" + +DOCS=( CHANGES.txt COMPILE.txt template/README.txt ) + +PATCHES=( + "${FILESDIR}"/"${P}"-gcc-10.patch + "${FILESDIR}"/"${P}"-unneeded-cast.patch +) + +QA_CONFIG_IMPL_DECL_SKIP=( + strnstr #bug #899024, there's fallback implementation +) + +src_prepare() { + default + eautoreconf + + # bug #530952 + sed -i -e 's/strndup/l_strndup/g' qstat.c || die +} + +src_configure() { + econf $(use_enable debug) +} + +src_install() { + default + dosym qstat /usr/bin/quakestat + + docinto html + dodoc template/*.html qstatdoc.html +} diff --git a/games-util/qstat/qstat-2.14.ebuild b/games-util/qstat/qstat-2.14.ebuild deleted file mode 100644 index 5de977de37a5..000000000000 --- a/games-util/qstat/qstat-2.14.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Server statics collector supporting many FPS games" -HOMEPAGE="https://github.com/Unity-Technologies/qstat" -SRC_URI="https://github.com/Unity-Technologies/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Artistic" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc64 x86" -IUSE="debug" - -DEPEND="!sys-cluster/torque" - -DOCS=( CHANGES.txt COMPILE.txt template/README.txt ) - -PATCHES=( - "${FILESDIR}"/${P}-gcc-10.patch -) - -src_prepare() { - default - eautoreconf - - # bug #530952 - sed -i -e 's/strndup/l_strndup/g' qstat.c || die -} - -src_configure() { - econf $(use_enable debug) -} - -src_install() { - default - dosym qstat /usr/bin/quakestat - - docinto html - dodoc template/*.html qstatdoc.html -} diff --git a/games-util/qstat/qstat-2.17.ebuild b/games-util/qstat/qstat-2.17.ebuild new file mode 100644 index 000000000000..3a8577446eee --- /dev/null +++ b/games-util/qstat/qstat-2.17.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Server statics collector supporting many FPS games" +HOMEPAGE="https://github.com/Unity-Technologies/qstat" +SRC_URI="https://github.com/Unity-Technologies/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86" +IUSE="debug" + +RDEPEND="!sys-cluster/torque" + +DOCS=( CHANGES.txt COMPILE.md template/README.txt ) + +PATCHES=( "${FILESDIR}/${PN}-2.14-unneeded-cast.patch" ) + +QA_CONFIG_IMPL_DECL_SKIP=( + strnstr # bug #899024, there's fallback implementation +) + +src_prepare() { + default + local -x QSTAT_VERSION="${PV}" + eautoreconf +} + +src_configure() { + econf $(use_enable debug) +} + +src_install() { + default + dosym qstat /usr/bin/quakestat + + docinto html + dodoc template/*.html qstatdoc.html +} -- cgit v1.2.3