Update to 1.2.189.0 SDK Version

This commit is contained in:
Dave Airlie 2021-09-07 16:30:12 +10:00
parent 9f2a9e733f
commit 52f16e05bf
2 changed files with 0 additions and 14 deletions

View File

@ -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;
}

View File

@ -13,7 +13,6 @@ Summary: API and commands for processing SPIR-V modules
License: ASL 2.0
URL: https://github.com/KhronosGroup/SPIRV-Tools
Source0: %url/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz
Patch0: %{name}-gcc11.patch
BuildRequires: cmake3
BuildRequires: gcc-c++