Merge pull request #251908 from vcunat/p/warzone2100-fixup

warzone2100: fixup build after vulkan update
This commit is contained in:
Francesco Gazzetta 2023-08-29 08:49:41 +02:00 committed by GitHub
commit 32d1624794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,6 +88,9 @@ stdenv.mkDerivation rec {
--replace '"which "' '"${which}/bin/which "'
substituteInPlace lib/exceptionhandler/exceptionhandler.cpp \
--replace "which %s" "${which}/bin/which %s"
# https://github.com/Warzone2100/warzone2100/pull/3353
substituteInPlace lib/ivis_opengl/gfx_api_vk.cpp \
--replace vk::throwResultException vk::detail::throwResultException
'';
cmakeFlags = [