From ba50097861ac4cac9ec20da7977258656cb94868 Mon Sep 17 00:00:00 2001 From: Guilherme Amadio Date: Tue, 25 May 2021 16:11:03 +0200 Subject: dev-libs/vc: add missing include, bug 789348 Closes: https://bugs.gentoo.org/789348 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Guilherme Amadio --- dev-libs/vc/files/vc-1.4.1-missing-include.patch | 16 ++++++++++++++++ dev-libs/vc/vc-1.4.1-r1.ebuild | 17 +++++++++++++++++ dev-libs/vc/vc-1.4.1.ebuild | 15 --------------- 3 files changed, 33 insertions(+), 15 deletions(-) create mode 100644 dev-libs/vc/files/vc-1.4.1-missing-include.patch create mode 100644 dev-libs/vc/vc-1.4.1-r1.ebuild delete mode 100644 dev-libs/vc/vc-1.4.1.ebuild (limited to 'dev-libs') diff --git a/dev-libs/vc/files/vc-1.4.1-missing-include.patch b/dev-libs/vc/files/vc-1.4.1-missing-include.patch new file mode 100644 index 000000000000..487705c9efb4 --- /dev/null +++ b/dev-libs/vc/files/vc-1.4.1-missing-include.patch @@ -0,0 +1,16 @@ +--- + Vc/common/simdarray.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Vc/common/simdarray.h b/Vc/common/simdarray.h +index adbe1b7d9..ba9daf27c 100644 +--- a/Vc/common/simdarray.h ++++ b/Vc/common/simdarray.h +@@ -33,6 +33,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + //#include "../IO" + + #include ++#include + + #include "writemaskedvector.h" + #include "simdarrayhelper.h" diff --git a/dev-libs/vc/vc-1.4.1-r1.ebuild b/dev-libs/vc/vc-1.4.1-r1.ebuild new file mode 100644 index 000000000000..8ac410c11b26 --- /dev/null +++ b/dev-libs/vc/vc-1.4.1-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="SIMD Vector Class Library for C++" +HOMEPAGE="https://github.com/VcDevel/Vc" +SRC_URI="https://github.com/VcDevel/Vc/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/Vc-${PV} + +PATCHES=( "${FILESDIR}"/${P}-missing-include.patch ) + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux ~x64-macos" diff --git a/dev-libs/vc/vc-1.4.1.ebuild b/dev-libs/vc/vc-1.4.1.ebuild deleted file mode 100644 index 6961ddd9b52f..000000000000 --- a/dev-libs/vc/vc-1.4.1.ebuild +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="SIMD Vector Class Library for C++" -HOMEPAGE="https://github.com/VcDevel/Vc" -SRC_URI="https://github.com/VcDevel/Vc/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}"/Vc-${PV} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux ~x64-macos" -- cgit v1.2.3-65-gdbad