xonotic: update to 0.8.5

deleted musl-moncontrol.patch since it isn't needed anymore and won't
build
This commit is contained in:
Ivan '.ztx/lyghters' Sivkov 2022-07-04 15:48:52 +05:00 committed by Duncan Overbruck
parent cece714ffa
commit 0a84cccdd2
2 changed files with 3 additions and 16 deletions

View File

@ -1,13 +0,0 @@
There is no moncontrol() in musl libc.
--- a/source/darkplaces/sys_shared.c 2015-01-13 19:56:16.000000000 +0100
+++ b/source/darkplaces/sys_shared.c 2015-08-30 09:24:54.839064473 +0200
@@ -69,7 +69,7 @@
else
moncleanup();
#endif
-#elif defined(__linux__) || defined(__FreeBSD__)
+#elif (defined(__linux__) && defined(__GLIBC__)) || defined(__FreeBSD__)
extern int moncontrol(int);
moncontrol(enable);
#endif

View File

@ -1,7 +1,7 @@
# Template file for 'xonotic'
pkgname=xonotic
version=0.8.2
revision=2
version=0.8.5
revision=1
wrksrc="Xonotic"
hostmakedepends="unzip automake libtool"
makedepends="gmp-devel MesaLib-devel SDL2-devel libcurl-devel alsa-lib-devel
@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, BSD-3-Clause"
homepage="http://xonotic.org"
distfiles="https://dl.xonotic.org/xonotic-${version}-source.zip"
checksum=5e6916f1e6e9e22285bb71ddd075189102857383e74ed0b0a3d27cef08e0bd2b
checksum=a1a81ba55ab151bf09758e7f59614b2e5150e84224753e77950bcd07a282ea5d
nocross=yes
do_build() {