1 |
commit: ec5cbbffdf1930b657578af501687a2e0c3eb329 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 3 18:19:47 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 3 18:24:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec5cbbff |
7 |
|
8 |
dev-util/intel-graphics-compiler: fix compilation |
9 |
|
10 |
This patch adds missing limits include, |
11 |
so compilation won't fail with GCC11. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/811360 |
14 |
Package-Manager: Portage-3.0.22, Repoman-3.0.3 |
15 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
16 |
|
17 |
...phics-compiler-1.0.8517-fix-missing-limits.patch | 21 +++++++++++++++++++++ |
18 |
.../intel-graphics-compiler-1.0.8517.ebuild | 1 + |
19 |
2 files changed, 22 insertions(+) |
20 |
|
21 |
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 |
22 |
new file mode 100644 |
23 |
index 00000000000..fa7e86806d0 |
24 |
--- /dev/null |
25 |
+++ b/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8517-fix-missing-limits.patch |
26 |
@@ -0,0 +1,21 @@ |
27 |
+From 212e98dd569187455976a8d2b26ce6398a9c3cc1 Mon Sep 17 00:00:00 2001 |
28 |
+From: Troels Nielsen <bn.troels@×××××.com> |
29 |
+Date: Tue, 31 Aug 2021 23:02:08 +0200 |
30 |
+Subject: [PATCH] Include limits |
31 |
+ |
32 |
+--- |
33 |
+ visa/Passes/InstCombine.cpp | 1 + |
34 |
+ 1 file changed, 1 insertion(+) |
35 |
+ |
36 |
+diff --git a/visa/Passes/InstCombine.cpp b/visa/Passes/InstCombine.cpp |
37 |
+index 10152aaab36..29b9d5e50e2 100644 |
38 |
+--- a/visa/Passes/InstCombine.cpp |
39 |
++++ b/visa/Passes/InstCombine.cpp |
40 |
+@@ -7,6 +7,7 @@ SPDX-License-Identifier: MIT |
41 |
+ ============================= end_copyright_notice ===========================*/ |
42 |
+ #include "InstCombine.hpp" |
43 |
+ |
44 |
++#include <limits> |
45 |
+ #include <functional> |
46 |
+ #include <unordered_set> |
47 |
+ |
48 |
|
49 |
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 |
50 |
index 5f73442c79b..fff9a377a38 100644 |
51 |
--- a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.8517.ebuild |
52 |
+++ b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.8517.ebuild |
53 |
@@ -40,6 +40,7 @@ PATCHES=( |
54 |
"${FILESDIR}/${PN}-1.0.8365-disable-git.patch" |
55 |
"${FILESDIR}/${PN}-1.0.8365-cmake-project.patch" |
56 |
"${FILESDIR}/${PN}-1.0.8365-cmake-minimum-version.patch" |
57 |
+ "${FILESDIR}/${PN}-1.0.8517-fix-missing-limits.patch" |
58 |
) |
59 |
|
60 |
pkg_setup() { |