dev-libs/gost-engine: strip -Werror

Closes: https://bugs.gentoo.org/747589
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
Craig Andrews
2020-10-12 21:25:00 -04:00
parent 5c99d509c7
commit 0f8ba4c016
2 changed files with 13 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -32,3 +32,8 @@ else
SRC_URI="https://github.com/gost-engine/engine/archive/e5cc3684f3b3ad40e186e23b00b253d234df92ab.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/engine-e5cc3684f3b3ad40e186e23b00b253d234df92ab"
fi
src_prepare() {
cmake-utils_src_prepare
sed 's:Werror:Wno-error:g' -i "${S}/CMakeLists.txt" || die
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -28,7 +28,12 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/gost-engine/engine.git"
inherit git-r3
else
KEYWORDS="~amd64"
KEYWORDS="~amd64 ~hppa"
SRC_URI="https://github.com/gost-engine/engine/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/engine-${PV}"
fi
src_prepare() {
cmake-utils_src_prepare
sed 's:Werror:Wno-error:g' -i "${S}/CMakeLists.txt" || die
}