gnu: vkd3d: Fix build with newer Vulkan headers.
* gnu/packages/vulkan.scm (vkd3d)[arguments]: Add phase 'patch-for-new-vulkan'.
This commit is contained in:
parent
51f3b34913
commit
d92f9d341e
1 changed files with 10 additions and 1 deletions
|
@ -322,7 +322,16 @@ (define-public vkd3d
|
|||
(file-name (string-append name "-" version "-checkout"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("--with-spirv-tools")))
|
||||
`(#:configure-flags '("--with-spirv-tools")
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-for-new-vulkan
|
||||
(lambda _
|
||||
;; Mimic upstream commit 8e7bf8a5c3e0047 for
|
||||
;; compatibility with newer vulkan-headers.
|
||||
(substitute* "libs/vkd3d/vkd3d_private.h"
|
||||
(("VK_PIPELINE_BIND_POINT_RANGE_SIZE")
|
||||
"2u"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("autoconf" ,autoconf)
|
||||
("automake" ,automake)
|
||||
|
|
Loading…
Reference in a new issue