[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/21: gnu: vkquake: Fix build with newer Vulkan headers.
From: |
guix-commits |
Subject: |
16/21: gnu: vkquake: Fix build with newer Vulkan headers. |
Date: |
Fri, 22 May 2020 18:10:20 -0400 (EDT) |
mbakke pushed a commit to branch staging
in repository guix.
commit 86a5395e8f0bc93dd42be5a7721fdb7d2ca44bad
Author: Marius Bakke <address@hidden>
AuthorDate: Fri May 22 20:43:56 2020 +0200
gnu: vkquake: Fix build with newer Vulkan headers.
* gnu/packages/games.scm (vkquake)[arguments]: Add phase
'patch-for-new-vulkan'.
---
gnu/packages/games.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 111e1e0..970cdbe 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -5807,6 +5807,14 @@ some graphical niceities, and numerous bug-fixes and
other improvements.")
(string-append "LDFLAGS=-Wl,-rpath=" vulkanlib)
"-CQuake"))
#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'patch-for-new-vulkan
+ (lambda _
+ ;; Mimic upstream commit a869a22d9b51c68e for
+ ;; compatibility with newer vulkan-headers.
+ (substitute* "Quake/gl_rmisc.c"
+ (("VK_DYNAMIC_STATE_RANGE_SIZE")
+ "3"))
+ #t))
(delete 'configure)
(add-after 'unpack 'fix-makefile-paths
(lambda* (#:key outputs #:allow-other-keys)
- 07/21: gnu: vulkan-loader: Update to 1.2.140., (continued)
- 07/21: gnu: vulkan-loader: Update to 1.2.140., guix-commits, 2020/05/22
- 09/21: gnu: vulkan-tools: Update to 1.2.140., guix-commits, 2020/05/22
- 11/21: gnu: shaderc: Enable (some) tests., guix-commits, 2020/05/22
- 10/21: gnu: shaderc: Update to 2020.0., guix-commits, 2020/05/22
- 12/21: gnu: Mesa: Install scripts to a separate output., guix-commits, 2020/05/22
- 17/21: gnu: vkd3d: Fix build with newer Vulkan headers., guix-commits, 2020/05/22
- 18/21: gnu: libdrm: Update to 2.4.101., guix-commits, 2020/05/22
- 13/21: gnu: Mesa: Remove unused input., guix-commits, 2020/05/22
- 14/21: gnu: Mesa: Remove obsolete phase., guix-commits, 2020/05/22
- 15/21: gnu: Mesa: Fix substitutions for absolute library references., guix-commits, 2020/05/22
- 16/21: gnu: vkquake: Fix build with newer Vulkan headers.,
guix-commits <=
- 20/21: gnu: mtxclient: Update to 0.3.0., guix-commits, 2020/05/22
- 08/21: gnu: vulkan-loader: Enable tests., guix-commits, 2020/05/22
- 19/21: gnu: qtdeclarative: Fix reference on qmlcachegen., guix-commits, 2020/05/22
- 21/21: gnu: nheko: Update to 0.7.1., guix-commits, 2020/05/22