From 815894396eb0ebbc62d824ae31b4e8fab1470442 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Thu, 20 Aug 2020 11:36:42 -0400 Subject: [PATCH] vkQuake: fix build against new Vulkan-Headers --- srcpkgs/vkQuake/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/vkQuake/template b/srcpkgs/vkQuake/template index ade85cf1400..56bd4dd15ab 100644 --- a/srcpkgs/vkQuake/template +++ b/srcpkgs/vkQuake/template @@ -14,6 +14,11 @@ homepage="https://github.com/Novum/vkQuake" distfiles="${homepage}/archive/${version}.tar.gz" checksum=aa318b7c543834ac907f6d0657c6560e8974445274083a95131d7350fb871624 +post_patch() { + # This is the upstream fix for the dropping of VK_DYNAMIC_STATE_RANGE_SIZE + vsed -e 's/VK_DYNAMIC_STATE_RANGE_SIZE/3/' -i gl_rmisc.c +} + do_install() { vbin vkquake vinstall ../Misc/vkQuake_512.png 644 usr/share/pixmaps vkquake.png