mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-05 14:51:52 +02:00
Patch glslang for GCC 15 compatibility.
This commit is contained in:
parent
b6ad7273eb
commit
785418ec20
2 changed files with 31 additions and 1 deletions
|
@ -0,0 +1,30 @@
|
||||||
|
From e40c14a3e007fac0e4f2e4164fdf14d1712355bd Mon Sep 17 00:00:00 2001
|
||||||
|
From: Sergei Trofimovich <slyich@gmail.com>
|
||||||
|
Date: Fri, 2 Aug 2024 22:44:21 +0100
|
||||||
|
Subject: [PATCH] SPIRV/SpvBuilder.h: add missing <cstdint> include
|
||||||
|
|
||||||
|
Without the change `glslang` build fails on upcoming `gcc-15` as:
|
||||||
|
|
||||||
|
In file included from /build/source/SPIRV/GlslangToSpv.cpp:45:
|
||||||
|
SPIRV/SpvBuilder.h:248:30: error: 'uint32_t' has not been declared
|
||||||
|
248 | Id makeDebugLexicalBlock(uint32_t line);
|
||||||
|
| ^~~~~~~~
|
||||||
|
---
|
||||||
|
SPIRV/SpvBuilder.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/SPIRV/SpvBuilder.h b/SPIRV/SpvBuilder.h
|
||||||
|
index f86dd81b..d688436a 100644
|
||||||
|
--- a/SPIRV/SpvBuilder.h
|
||||||
|
+++ b/SPIRV/SpvBuilder.h
|
||||||
|
@@ -56,6 +56,7 @@ namespace spv {
|
||||||
|
}
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
+#include <cstdint>
|
||||||
|
#include <map>
|
||||||
|
#include <memory>
|
||||||
|
#include <set>
|
||||||
|
--
|
||||||
|
2.47.2
|
||||||
|
|
|
@ -6,7 +6,7 @@ vcpkg_from_github(
|
||||||
REF 11.13.0
|
REF 11.13.0
|
||||||
SHA512 20c2a6543b002648f459f26bd36b5c445afd6d8eae175e400dbe45632f11ca8de1f9e6f6e98fd6f910aa75d90063e174c095e7df26d9d4982192b84d08b0dc8b
|
SHA512 20c2a6543b002648f459f26bd36b5c445afd6d8eae175e400dbe45632f11ca8de1f9e6f6e98fd6f910aa75d90063e174c095e7df26d9d4982192b84d08b0dc8b
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
PATCHES 0001-Include-cstdint-header-in-Common.h.patch
|
PATCHES 0001-Include-cstdint-header-in-Common.h.patch 0001-SPIRV-SpvBuilder.h-add-missing-cstdint-include.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
vcpkg_configure_cmake(
|
||||||
|
|
Loading…
Reference in a new issue