From 7cc815e7f8948e87f9354b04188074a425351a94 Mon Sep 17 00:00:00 2001 From: Roberto Ricci Date: Tue, 30 Mar 2021 16:14:58 +0200 Subject: [PATCH] dhewm3: update to 1.5.1. --- .../patches/musl-temp_failure_retry.patch | 2 +- srcpkgs/dhewm3/patches/ppc64.patch | 26 ------------------- srcpkgs/dhewm3/template | 10 +++---- 3 files changed, 4 insertions(+), 34 deletions(-) delete mode 100644 srcpkgs/dhewm3/patches/ppc64.patch diff --git a/srcpkgs/dhewm3/patches/musl-temp_failure_retry.patch b/srcpkgs/dhewm3/patches/musl-temp_failure_retry.patch index 0954b6527256..c31a74af3e89 100644 --- a/srcpkgs/dhewm3/patches/musl-temp_failure_retry.patch +++ b/srcpkgs/dhewm3/patches/musl-temp_failure_retry.patch @@ -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" ); diff --git a/srcpkgs/dhewm3/patches/ppc64.patch b/srcpkgs/dhewm3/patches/ppc64.patch deleted file mode 100644 index 087cb3973d55..000000000000 --- a/srcpkgs/dhewm3/patches/ppc64.patch +++ /dev/null @@ -1,26 +0,0 @@ -Fixes build as the altivec bits include a MacOS-specific header. - -Original author: - ---- 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; diff --git a/srcpkgs/dhewm3/template b/srcpkgs/dhewm3/template index 5d94c096afe6..5509900e8c0b 100644 --- a/srcpkgs/dhewm3/template +++ b/srcpkgs/dhewm3/template @@ -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 " 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