vkQuake: fix build against new Vulkan-Headers

This commit is contained in:
Andrew J. Hesford 2020-08-20 11:36:42 -04:00
parent 77085725d9
commit 815894396e

View file

@ -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