diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-09-03 20:19:47 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-09-03 20:24:59 +0200 |
commit | ec5cbbffdf1930b657578af501687a2e0c3eb329 (patch) | |
tree | 508d77b8821d7aa224ca737f240e8399969e9959 /dev-util/intel-graphics-compiler | |
parent | dev-python/cython: fix unaligned accesses in type conversions (diff) | |
download | gentoo-ec5cbbffdf1930b657578af501687a2e0c3eb329.tar.gz gentoo-ec5cbbffdf1930b657578af501687a2e0c3eb329.tar.bz2 gentoo-ec5cbbffdf1930b657578af501687a2e0c3eb329.zip |
dev-util/intel-graphics-compiler: fix compilation
This patch adds missing limits include,
so compilation won't fail with GCC11.
Closes: https://bugs.gentoo.org/811360
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-util/intel-graphics-compiler')
-rw-r--r-- | dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8517-fix-missing-limits.patch | 21 | ||||
-rw-r--r-- | dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.8517.ebuild | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8517-fix-missing-limits.patch b/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8517-fix-missing-limits.patch new file mode 100644 index 000000000000..fa7e86806d04 --- /dev/null +++ b/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8517-fix-missing-limits.patch @@ -0,0 +1,21 @@ +From 212e98dd569187455976a8d2b26ce6398a9c3cc1 Mon Sep 17 00:00:00 2001 +From: Troels Nielsen <bn.troels@gmail.com> +Date: Tue, 31 Aug 2021 23:02:08 +0200 +Subject: [PATCH] Include limits + +--- + visa/Passes/InstCombine.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/visa/Passes/InstCombine.cpp b/visa/Passes/InstCombine.cpp +index 10152aaab36..29b9d5e50e2 100644 +--- a/visa/Passes/InstCombine.cpp ++++ b/visa/Passes/InstCombine.cpp +@@ -7,6 +7,7 @@ SPDX-License-Identifier: MIT + ============================= end_copyright_notice ===========================*/ + #include "InstCombine.hpp" + ++#include <limits> + #include <functional> + #include <unordered_set> + diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.8517.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.8517.ebuild index 5f73442c79b4..fff9a377a38a 100644 --- a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.8517.ebuild +++ b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.8517.ebuild @@ -40,6 +40,7 @@ PATCHES=( "${FILESDIR}/${PN}-1.0.8365-disable-git.patch" "${FILESDIR}/${PN}-1.0.8365-cmake-project.patch" "${FILESDIR}/${PN}-1.0.8365-cmake-minimum-version.patch" + "${FILESDIR}/${PN}-1.0.8517-fix-missing-limits.patch" ) pkg_setup() { |