Hi, Here's companion for the audio/zmusic diff to bring gzdoom to latest release. Seemed to work on quick test on amd64.
timo diff 3c1d0e6f7c1a7453566310164ea13533318a7bd7 /usr/ports blob - f967002f56e09919f748bc96ecee73c0ae94c9b6 file + games/gzdoom/Makefile --- games/gzdoom/Makefile +++ games/gzdoom/Makefile @@ -8,7 +8,7 @@ ONLY_FOR_ARCHS = i386 amd64 COMMENT = OpenGL engine for idTech 1 games like doom,hexen,heretic... -V = 4.7.1 +V = 4.8.2 GH_ACCOUNT = coelckers GH_PROJECT = gzdoom GH_TAGNAME = g${V} blob - 6202659488a2b382b898f9d0d323437b3b71ba72 file + games/gzdoom/distinfo --- games/gzdoom/distinfo +++ games/gzdoom/distinfo @@ -1,2 +1,2 @@ -SHA256 (gzdoom-4.7.1.tar.gz) = RUJXWCvgV2UB7vHvyZ/n6nDxxNeZNUnbPLxwnOdfwQI= -SIZE (gzdoom-4.7.1.tar.gz) = 19562412 +SHA256 (gzdoom-4.8.2.tar.gz) = Tt1g+AlMncPft0AL28DrsKXldLCmdH7uTI2fH2r3cSc= +SIZE (gzdoom-4.8.2.tar.gz) = 24247668 blob - a9570e7e1c6555bd1f22655ea44c360a54663331 file + games/gzdoom/patches/patch-CMakeLists_txt --- games/gzdoom/patches/patch-CMakeLists_txt +++ games/gzdoom/patches/patch-CMakeLists_txt @@ -1,7 +1,7 @@ Index: CMakeLists.txt --- CMakeLists.txt.orig +++ CMakeLists.txt -@@ -271,7 +271,7 @@ else() +@@ -272,7 +272,7 @@ else() if ( UNIX ) include(CheckSymbolExists) blob - be01fd6c393eb8966d784b53469e75e6ae95ed2c file + /dev/null --- games/gzdoom/patches/patch-src_CMakeLists_txt +++ /dev/null @@ -1,12 +0,0 @@ -Index: src/CMakeLists.txt ---- src/CMakeLists.txt.orig -+++ src/CMakeLists.txt -@@ -356,7 +360,7 @@ CHECK_CXX_SOURCE_COMPILES("thread_local int i; int mai - HAVE_THREAD_LOCAL) - - if( NOT HAVE_THREAD_LOCAL ) -- message( SEND_ERROR "C++ compiler doesn't support thread_local storage duration specifier" ) -+ message( STATUS "C++ compiler doesn't support thread_local storage duration specifier" ) - endif() - - # Check for functions that may or may not exist. blob - /dev/null file + games/gzdoom/patches/patch-src_common_scripting_vm_vmframe_cpp --- /dev/null +++ games/gzdoom/patches/patch-src_common_scripting_vm_vmframe_cpp @@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: src/common/scripting/vm/vmframe.cpp +--- src/common/scripting/vm/vmframe.cpp.orig ++++ src/common/scripting/vm/vmframe.cpp +@@ -45,7 +45,7 @@ + #include "version.h" + + #ifdef HAVE_VM_JIT +-#ifdef __DragonFly__ ++#ifdef __DragonFly__ || __OpenBSD__ + CUSTOM_CVAR(Bool, vm_jit, false, CVAR_NOINITCALL) + #else + CUSTOM_CVAR(Bool, vm_jit, true, CVAR_NOINITCALL)