commit:     1e3218cc45003fc3e505df28c5cf859910008d9a
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Sun Apr 11 10:37:04 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Sun Apr 11 10:38:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1e3218cc

dev-lang/gleam: fix compile

* don't treat warnings as errors
* specify QA_FLAGS_IGNORED

Closes: https://bugs.gentoo.org/780999
Signed-off-by: Theo Anderson <telans <AT> posteo.de>

 dev-lang/gleam/gleam-0.12.1.ebuild | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/dev-lang/gleam/gleam-0.12.1.ebuild 
b/dev-lang/gleam/gleam-0.12.1.ebuild
index d6dc4025d..8ed01a968 100644
--- a/dev-lang/gleam/gleam-0.12.1.ebuild
+++ b/dev-lang/gleam/gleam-0.12.1.ebuild
@@ -259,3 +259,15 @@ LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 
BSD BSL-1.1 CC0-1.0 MI
 SLOT="0"
 KEYWORDS="~amd64"
 RESTRICT="mirror"
+
+QA_FLAGS_IGNORED="usr/bin/gleam"
+
+src_configure() {
+       export RUSTFLAGS="${RUSTFLAGS} --cap-lints warn"
+       cargo_src_configure
+}
+
+src_install() {
+       cargo_src_install
+       einstalldocs
+}

Reply via email to