Update to 1.2.189.0 SDK Version
This commit is contained in:
parent
9f2a9e733f
commit
52f16e05bf
@ -1,13 +0,0 @@
|
|||||||
diff --git a/source/diagnostic.cpp b/source/diagnostic.cpp
|
|
||||||
index edc27c8..77c29d7 100644
|
|
||||||
--- a/source/diagnostic.cpp
|
|
||||||
+++ b/source/diagnostic.cpp
|
|
||||||
@@ -37,7 +37,7 @@ spv_diagnostic spvDiagnosticCreate(const spv_position position,
|
|
||||||
diagnostic->position = *position;
|
|
||||||
diagnostic->isTextSource = false;
|
|
||||||
memset(diagnostic->error, 0, length);
|
|
||||||
- strncpy(diagnostic->error, message, length);
|
|
||||||
+ memcpy(diagnostic->error, message, length);
|
|
||||||
return diagnostic;
|
|
||||||
}
|
|
||||||
|
|
@ -13,7 +13,6 @@ Summary: API and commands for processing SPIR-V modules
|
|||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/KhronosGroup/SPIRV-Tools
|
URL: https://github.com/KhronosGroup/SPIRV-Tools
|
||||||
Source0: %url/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz
|
Source0: %url/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz
|
||||||
Patch0: %{name}-gcc11.patch
|
|
||||||
|
|
||||||
BuildRequires: cmake3
|
BuildRequires: cmake3
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
Loading…
Reference in New Issue
Block a user