1 |
commit: a2ef031cc8a1816402149922108ecf26f866e950 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Oct 4 08:17:53 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Oct 4 08:18:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2ef031c |
7 |
|
8 |
dev-cpp/vexcl: EAPI 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/815889 |
11 |
Package-Manager: Portage-3.0.26, Repoman-3.0.3 |
12 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
13 |
|
14 |
dev-cpp/vexcl/files/vexcl-1.4.2-include-map.patch | 26 ++++++++++++++++++++++ |
15 |
...vexcl-1.4.2-r1.ebuild => vexcl-1.4.2-r2.ebuild} | 9 +++++--- |
16 |
2 files changed, 32 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/dev-cpp/vexcl/files/vexcl-1.4.2-include-map.patch b/dev-cpp/vexcl/files/vexcl-1.4.2-include-map.patch |
19 |
new file mode 100644 |
20 |
index 000000000..e3fd08a16 |
21 |
--- /dev/null |
22 |
+++ b/dev-cpp/vexcl/files/vexcl-1.4.2-include-map.patch |
23 |
@@ -0,0 +1,26 @@ |
24 |
+From 555a838850c96ab838a299255157fbe4fd4df2ee Mon Sep 17 00:00:00 2001 |
25 |
+From: Denis Demidov <dennis.demidov@×××××.com> |
26 |
+Date: Mon, 4 Oct 2021 10:46:03 +0300 |
27 |
+Subject: [PATCH] Missing <map> include in backend/{opencl/compute}/filter.hpp |
28 |
+ |
29 |
+Fixes #290 |
30 |
+--- a/vexcl/backend/compute/filter.hpp |
31 |
++++ b/vexcl/backend/compute/filter.hpp |
32 |
+@@ -35,6 +35,7 @@ THE SOFTWARE. |
33 |
+ #include <fstream> |
34 |
+ #include <string> |
35 |
+ #include <vector> |
36 |
++#include <map> |
37 |
+ #include <functional> |
38 |
+ #include <cstdlib> |
39 |
+ |
40 |
+--- a/vexcl/backend/opencl/filter.hpp |
41 |
++++ b/vexcl/backend/opencl/filter.hpp |
42 |
+@@ -35,6 +35,7 @@ THE SOFTWARE. |
43 |
+ #include <fstream> |
44 |
+ #include <string> |
45 |
+ #include <vector> |
46 |
++#include <map> |
47 |
+ #include <functional> |
48 |
+ #include <cstdlib> |
49 |
+ |
50 |
|
51 |
diff --git a/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild b/dev-cpp/vexcl/vexcl-1.4.2-r2.ebuild |
52 |
similarity index 92% |
53 |
rename from dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild |
54 |
rename to dev-cpp/vexcl/vexcl-1.4.2-r2.ebuild |
55 |
index e246c3a57..2e9867736 100644 |
56 |
--- a/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild |
57 |
+++ b/dev-cpp/vexcl/vexcl-1.4.2-r2.ebuild |
58 |
@@ -1,7 +1,7 @@ |
59 |
# Copyright 1999-2021 Gentoo Authors |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
|
62 |
-EAPI=7 |
63 |
+EAPI=8 |
64 |
|
65 |
DOCS_BUILDER="sphinx" |
66 |
DOCS_DEPEND=" |
67 |
@@ -9,7 +9,7 @@ DOCS_DEPEND=" |
68 |
dev-python/sphinx-bootstrap-theme |
69 |
" |
70 |
DOCS_DIR="docs" |
71 |
-PYTHON_COMPAT=( python3_{7..9} ) |
72 |
+PYTHON_COMPAT=( python3_{8..10} ) |
73 |
|
74 |
inherit cmake python-any-r1 docs |
75 |
|
76 |
@@ -35,7 +35,10 @@ RDEPEND=" |
77 |
" |
78 |
DEPEND="${RDEPEND}" |
79 |
|
80 |
-PATCHES=( "${FILESDIR}/add-sphinx-ext-autodoc-to-conf-py.patch" ) |
81 |
+PATCHES=( |
82 |
+ "${FILESDIR}/add-sphinx-ext-autodoc-to-conf-py.patch" |
83 |
+ "${FILESDIR}/${P}-include-map.patch" |
84 |
+) |
85 |
REQUIRED_USE=" |
86 |
^^ ( ${IUSE_BACKEND//+/} ) |
87 |
" |