From ba42b68704cfc94c1a887064755f1d7fdeae1f76 Mon Sep 17 00:00:00 2001 From: sdk Date: Sun, 23 Oct 2022 14:59:26 +0000 Subject: [PATCH] Update vkquake to 1.20.3 (+unbreak due to SDL error) Changes: 1.20.3 * Fixed multiple parallelism bugs * 8-bit mode now has dithering 1.20.2 * Fixed a crash on startup with re-release Quake data * Fixed crash with small stack sized on Unix (e.g. musl libc) 1.20.1 * Fix a bug that could cause random lockups with 1.20.0 * Fix screenshot crash * Fix corruption if new vkquake.pak is missing or old one is still in place 1.20.0 * Parallelized renderer for significantly higher performance * Parallelized texture mip generation for faster load times * SIMD code optimizations * "8-bit" color mode emulation * Scaling is now less blurry * Mods menu * Completely replaced memory management (no more -heapsize) OK thfr@ (maintainer) --- games/vkquake/Makefile | 4 ++-- games/vkquake/distinfo | 4 ++-- games/vkquake/patches/patch-Quake_Makefile | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/games/vkquake/Makefile b/games/vkquake/Makefile index d592bbb58b9..796aac9f4bd 100644 --- a/games/vkquake/Makefile +++ b/games/vkquake/Makefile @@ -1,6 +1,6 @@ COMMENT = port of Quake 1 using Vulkan instead of OpenGL -V = 1.13.1 +V = 1.20.3 PKGNAME = vkquake-${V} GH_ACCOUNT = Novum GH_PROJECT = vkQuake @@ -12,7 +12,7 @@ MAINTAINER = Thomas Frohwein # GPLv2 PERMIT_PACKAGE = Yes -WANTLIB += SDL2 c m mad ogg vorbis vorbisfile vulkan +WANTLIB += SDL2 c m mad ogg pthread vorbis vorbisfile vulkan # C11 COMPILER = base-clang ports-gcc diff --git a/games/vkquake/distinfo b/games/vkquake/distinfo index 72ff68dd837..58a255c846d 100644 --- a/games/vkquake/distinfo +++ b/games/vkquake/distinfo @@ -1,2 +1,2 @@ -SHA256 (vkQuake-1.13.1.tar.gz) = zrnuRhNTCffK+UJnU5yucLR++O3xBOOQG4nTruewuHQ= -SIZE (vkQuake-1.13.1.tar.gz) = 14143092 +SHA256 (vkQuake-1.20.3.tar.gz) = f/SAwAUTrHqcR4ZMUpbUh0RLxbNaTGw5r/w6VgGIgzk= +SIZE (vkQuake-1.20.3.tar.gz) = 33396356 diff --git a/games/vkquake/patches/patch-Quake_Makefile b/games/vkquake/patches/patch-Quake_Makefile index c148b224ef9..06cf6aa7764 100644 --- a/games/vkquake/patches/patch-Quake_Makefile +++ b/games/vkquake/patches/patch-Quake_Makefile @@ -16,8 +16,8 @@ Index: Quake/Makefile DFLAGS ?= CFLAGS ?= --CFLAGS += -Wall -Wno-trigraphs -Wno-unused-function -Werror -std=gnu11 -+CFLAGS += -Wall -Wno-trigraphs -Wno-unused-function -std=gnu11 +-CFLAGS += -Wall -Wno-trigraphs -Wno-unused-function -Werror -std=gnu11 -MMD ++CFLAGS += -Wall -Wno-trigraphs -Wno-unused-function -std=gnu11 -MMD CFLAGS += $(CPUFLAGS) ifneq ($(DEBUG),0) DFLAGS += -D_DEBUG @@ -28,4 +28,4 @@ Index: Quake/Makefile -CFLAGS += -O3 CFLAGS += $(call check_gcc,-fweb,) CFLAGS += $(call check_gcc,-frename-registers,) - cmd_strip=$(STRIP) $(1) + CFLAGS += $(call check_gcc,-fno-asynchronous-unwind-tables,)