summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2020-10-12 21:25:00 -0400
committerCraig Andrews <candrews@gentoo.org>2020-10-13 00:30:00 -0400
commit0f8ba4c016e619cb71ffaffcf1980bb0932c4302 (patch)
tree5942f733aaed86a0b246cc55142e8b83425a0754 /dev-libs
parentmedia-plugins/kodi-game-libretro-twentyfortyeight: 1.0.0.114 version bump (diff)
downloadgentoo-0f8ba4c016e619cb71ffaffcf1980bb0932c4302.tar.gz
gentoo-0f8ba4c016e619cb71ffaffcf1980bb0932c4302.tar.bz2
gentoo-0f8ba4c016e619cb71ffaffcf1980bb0932c4302.zip
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>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031-r1.ebuild7
-rw-r--r--dev-libs/gost-engine/gost-engine-9999.ebuild9
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031-r1.ebuild b/dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031-r1.ebuild
index 9bcff53af420..fec5175b2bcf 100644
--- a/dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031-r1.ebuild
+++ b/dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031-r1.ebuild
@@ -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
+}
diff --git a/dev-libs/gost-engine/gost-engine-9999.ebuild b/dev-libs/gost-engine/gost-engine-9999.ebuild
index 1d7a11fbc17e..945c78a4f22b 100644
--- a/dev-libs/gost-engine/gost-engine-9999.ebuild
+++ b/dev-libs/gost-engine/gost-engine-9999.ebuild
@@ -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
+}