From 52f16e05bfc81bd15ed9c9e13a50823b3491758c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 7 Sep 2021 16:30:12 +1000 Subject: [PATCH] Update to 1.2.189.0 SDK Version --- spirv-tools-gcc11.patch | 13 ------------- spirv-tools.spec | 1 - 2 files changed, 14 deletions(-) delete mode 100644 spirv-tools-gcc11.patch diff --git a/spirv-tools-gcc11.patch b/spirv-tools-gcc11.patch deleted file mode 100644 index f5c82da..0000000 --- a/spirv-tools-gcc11.patch +++ /dev/null @@ -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; - } - diff --git a/spirv-tools.spec b/spirv-tools.spec index 7e7dfe1..9ad0ce0 100644 --- a/spirv-tools.spec +++ b/spirv-tools.spec @@ -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++