dev-cpp/vexcl: EAPI 8

Closes: https://bugs.gentoo.org/815889
Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-10-04 10:17:53 +02:00
parent 2d930da08e
commit a2ef031cc8
2 changed files with 32 additions and 3 deletions

View File

@@ -0,0 +1,26 @@
From 555a838850c96ab838a299255157fbe4fd4df2ee Mon Sep 17 00:00:00 2001
From: Denis Demidov <dennis.demidov@gmail.com>
Date: Mon, 4 Oct 2021 10:46:03 +0300
Subject: [PATCH] Missing <map> include in backend/{opencl/compute}/filter.hpp
Fixes #290
--- a/vexcl/backend/compute/filter.hpp
+++ b/vexcl/backend/compute/filter.hpp
@@ -35,6 +35,7 @@ THE SOFTWARE.
#include <fstream>
#include <string>
#include <vector>
+#include <map>
#include <functional>
#include <cstdlib>
--- a/vexcl/backend/opencl/filter.hpp
+++ b/vexcl/backend/opencl/filter.hpp
@@ -35,6 +35,7 @@ THE SOFTWARE.
#include <fstream>
#include <string>
#include <vector>
+#include <map>
#include <functional>
#include <cstdlib>

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
DOCS_BUILDER="sphinx"
DOCS_DEPEND="
@@ -9,7 +9,7 @@ DOCS_DEPEND="
dev-python/sphinx-bootstrap-theme
"
DOCS_DIR="docs"
PYTHON_COMPAT=( python3_{7..9} )
PYTHON_COMPAT=( python3_{8..10} )
inherit cmake python-any-r1 docs
@@ -35,7 +35,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/add-sphinx-ext-autodoc-to-conf-py.patch" )
PATCHES=(
"${FILESDIR}/add-sphinx-ext-autodoc-to-conf-py.patch"
"${FILESDIR}/${P}-include-map.patch"
)
REQUIRED_USE="
^^ ( ${IUSE_BACKEND//+/} )
"