[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: |
Tue, 26 May 2020 17:18:14 -0400 (EDT) |
mbakke pushed a commit to branch staging2
in repository guix.
commit 51f3b34913442afbc638a6e3331a18df1a9e5d97
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)
- 36/63: Merge branch 'master' into staging, (continued)
- 36/63: Merge branch 'master' into staging, guix-commits, 2020/05/26
- 15/63: gnu: CUPS: Update to 2.3.3., guix-commits, 2020/05/26
- 18/63: gnu: python-cffi: Update to 1.14.0., guix-commits, 2020/05/26
- 47/63: gnu: vulkan-tools: Update to 1.2.140., guix-commits, 2020/05/26
- 51/63: gnu: Mesa: Remove unused input., guix-commits, 2020/05/26
- 22/63: gnu: python-urllib3: Update to 1.25.9., guix-commits, 2020/05/26
- 31/63: gnu: python-jinja2: Update to 2.11.2., guix-commits, 2020/05/26
- 41/63: gnu: spirv-tools: Do not build static libraries., guix-commits, 2020/05/26
- 52/63: gnu: Mesa: Remove obsolete phase., guix-commits, 2020/05/26
- 30/63: gnu: json-c: Update to 0.14., guix-commits, 2020/05/26
- 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/26
- 59/63: gnu: nheko: Update to 0.7.1., guix-commits, 2020/05/26
- 62/63: gnu: qtwebengine: Fix build failure., guix-commits, 2020/05/26
- 60/63: gnu: mutter: Fix build with Mesa 20., guix-commits, 2020/05/26
- 20/63: gnu: python-cryptography: Update to 2.9.2., guix-commits, 2020/05/26
- 27/63: gnu: python-mako: Update to 1.1.2., guix-commits, 2020/05/26
- 33/63: gnu: Qt: Update to 5.14.2., guix-commits, 2020/05/26
- 49/63: gnu: shaderc: Enable (some) tests., guix-commits, 2020/05/26
- 26/63: gnu: python-idna: Update to 2.9., guix-commits, 2020/05/26
- 28/63: gnu: NSS: Update to 3.52., guix-commits, 2020/05/26