[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
54/63: gnu: vkquake: Fix build with newer Vulkan headers.
From: |
guix-commits |
Subject: |
54/63: gnu: vkquake: Fix build with newer Vulkan headers. |
Date: |
Mon, 25 May 2020 15:15:30 -0400 (EDT) |
mbakke pushed a commit to branch staging2
in repository guix.
commit 6cb1eb75011f6e27cbe78d91c1dbcb34370ec479
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)
- 34/63: gnu: Mesa: Fix ineffective substitution on i686-linux., (continued)
- 34/63: gnu: Mesa: Fix ineffective substitution on i686-linux., guix-commits, 2020/05/25
- 36/63: Merge branch 'master' into staging, guix-commits, 2020/05/25
- 39/63: gnu: spirv-headers: Update to 1.5.3., guix-commits, 2020/05/25
- 44/63: gnu: vulkan-headers: Update to 1.2.141., guix-commits, 2020/05/25
- 51/63: gnu: Mesa: Remove unused input., guix-commits, 2020/05/25
- 49/63: gnu: shaderc: Enable (some) tests., guix-commits, 2020/05/25
- 50/63: gnu: Mesa: Install scripts to a separate output., guix-commits, 2020/05/25
- 29/63: gnu: pcre2: Update to 10.35., guix-commits, 2020/05/25
- 53/63: gnu: Mesa: Fix substitutions for absolute library references., guix-commits, 2020/05/25
- 61/63: gnu: mesa-headers: Do not inherit outputs from Mesa., guix-commits, 2020/05/25
- 54/63: gnu: vkquake: Fix build with newer Vulkan headers.,
guix-commits <=
- 56/63: gnu: libdrm: Update to 2.4.101., guix-commits, 2020/05/25
- 62/63: gnu: qtwebengine: Fix build failure., guix-commits, 2020/05/25
- 43/63: gnu: glslang: Build shared libraries., guix-commits, 2020/05/25
- 47/63: gnu: vulkan-tools: Update to 1.2.140., guix-commits, 2020/05/25
- 55/63: gnu: vkd3d: Fix build with newer Vulkan headers., guix-commits, 2020/05/25