dhewm3: update to 1.5.1.

This commit is contained in:
Roberto Ricci 2021-03-30 16:14:58 +02:00 committed by Érico Nogueira Rolim
parent 2d2cf3c192
commit d48216783c
3 changed files with 4 additions and 34 deletions

View file

@ -15,4 +15,4 @@
+
idPort clientPort, serverPort;
idCVar net_ip( "net_ip", "localhost", CVAR_SYSTEM, "local IP address" );
IDcVar net_ip( "net_ip", "localhost", CVAR_SYSTEM, "local IP address" );

View file

@ -1,26 +0,0 @@
Fixes build as the altivec bits include a MacOS-specific header.
Original author: <frediz@linux.vnet.ibm.com>
--- neo/idlib/math/Simd_AltiVec.cpp 2017-07-12 12:34:33.000000000 +0000
+++ neo/idlib/math/Simd_AltiVec.cpp 2017-07-12 12:43:51.863029647 +0000
@@ -45,7 +45,7 @@
//
//===============================================================
-#if defined(__GNUC__) && defined(__ALTIVEC__)
+#if defined(MACOS_X) && defined(__GNUC__) && defined(__ALTIVEC__)
#ifdef PPC_INTRINSICS
// for square root estimate instruction
--- neo/idlib/math/Simd_AltiVec.h 2017-07-12 12:34:33.000000000 +0000
+++ neo/idlib/math/Simd_AltiVec.h 2017-07-12 12:38:38.083750262 +0000
@@ -110,7 +110,7 @@
//#define DRAWVERT_PADDED
class idSIMD_AltiVec : public idSIMD_Generic {
-#if defined(__GNUC__) && defined(__ALTIVEC__)
+#if defined(MACOS_X) && defined(__GNUC__) && defined(__ALTIVEC__)
public:
virtual const char * VPCALL GetName( void ) const;

View file

@ -1,6 +1,6 @@
# Template file for 'dhewm3'
pkgname=dhewm3
version=1.5.0
version=1.5.1
revision=1
build_wrksrc="neo"
build_style=cmake
@ -9,9 +9,5 @@ short_desc="Doom 3 GPL source port"
maintainer="John Rowley <enterthevoid@codesector.co>"
license="GPL-3.0-or-later"
homepage="https://dhewm3.org/"
distfiles="https://github.com/dhewm/dhewm3/archive/${version}.tar.gz"
checksum=fd299c8a2db1ecde15f861e4a883a5d61e5da0c74e26f89fb50b52b978fe8212
case "$XBPS_TARGET_MACHINE" in
arm*) makedepends+=" libX11-devel";;
esac
distfiles="https://github.com/dhewm/dhewm3/releases/download/${version}/dhewm3-${version}-src.tar.xz"
checksum=31671f35fb6f83272dfa2a27c0dad6183bc228f1f1a448ef925052cf4dcf4b68