1 |
commit: 3e011cd6f314f2032f5e6918dbdda5b308f47edb |
2 |
Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de> |
3 |
AuthorDate: Wed Feb 22 20:48:47 2023 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 27 11:22:26 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e011cd6 |
7 |
|
8 |
sys-cluster/hpx: Fix build failure |
9 |
|
10 |
Fix build failure due to missing header file regarding std::intmax_t. |
11 |
|
12 |
Patch taken from upstream master branch. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/895212 |
15 |
Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de> |
16 |
Closes: https://github.com/gentoo/gentoo/pull/29734 |
17 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
18 |
|
19 |
.../hpx/files/hpx-1.8.1-fix-intmax-error.patch | 24 ++++++++++++++++++++++ |
20 |
sys-cluster/hpx/hpx-1.8.1.ebuild | 1 + |
21 |
2 files changed, 25 insertions(+) |
22 |
|
23 |
diff --git a/sys-cluster/hpx/files/hpx-1.8.1-fix-intmax-error.patch b/sys-cluster/hpx/files/hpx-1.8.1-fix-intmax-error.patch |
24 |
new file mode 100644 |
25 |
index 000000000000..58d6a70a15ff |
26 |
--- /dev/null |
27 |
+++ b/sys-cluster/hpx/files/hpx-1.8.1-fix-intmax-error.patch |
28 |
@@ -0,0 +1,24 @@ |
29 |
+From 9ce60348a5401fe58b6fd7333d3d7e19f0d6d8ac Mon Sep 17 00:00:00 2001 |
30 |
+From: Jonathan Wakely <jwakely@××××××.com> |
31 |
+Date: Wed, 8 Feb 2023 12:32:11 +0000 |
32 |
+Subject: [PATCH] Add missing header for std::intmax_t |
33 |
+ |
34 |
+--- |
35 |
+ .../include/hpx/iterator_support/counting_iterator.hpp | 1 + |
36 |
+ 1 file changed, 1 insertion(+) |
37 |
+ |
38 |
+diff --git a/libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp b/libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp |
39 |
+index e6e6c7a99cb8..1414648cc2cf 100644 |
40 |
+--- a/libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp |
41 |
++++ b/libs/core/iterator_support/include/hpx/iterator_support/counting_iterator.hpp |
42 |
+@@ -18,6 +18,7 @@ |
43 |
+ #include <hpx/type_support/lazy_conditional.hpp> |
44 |
+ |
45 |
+ #include <cstddef> |
46 |
++#include <cstdint> |
47 |
+ #include <iterator> |
48 |
+ #include <type_traits> |
49 |
+ |
50 |
+-- |
51 |
+2.39.2 |
52 |
+ |
53 |
|
54 |
diff --git a/sys-cluster/hpx/hpx-1.8.1.ebuild b/sys-cluster/hpx/hpx-1.8.1.ebuild |
55 |
index 3de266f8b503..a875850567d3 100644 |
56 |
--- a/sys-cluster/hpx/hpx-1.8.1.ebuild |
57 |
+++ b/sys-cluster/hpx/hpx-1.8.1.ebuild |
58 |
@@ -47,6 +47,7 @@ DEPEND="${RDEPEND}" |
59 |
|
60 |
PATCHES=( |
61 |
"${FILESDIR}/${PN}-1.8.0-python.patch" |
62 |
+ "${FILESDIR}/${PN}-1.8.1-fix-intmax-error.patch" |
63 |
) |
64 |
|
65 |
hpx_memory_requirement() { |