aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2024-03-03 13:28:39 -0500
committerJulien Roy <julien@jroy.ca>2024-03-03 13:32:37 -0500
commitd06cdb84ca4096b475821a9acbf1fb0f2bc0c576 (patch)
tree6a7b845b43972cd81448a98b30e2a5a5db5fe3ee /dev-libs
parentdev-lang/hare: fix build for riscv64 (diff)
downloadguru-d06cdb84ca4096b475821a9acbf1fb0f2bc0c576.tar.gz
guru-d06cdb84ca4096b475821a9acbf1fb0f2bc0c576.tar.bz2
guru-d06cdb84ca4096b475821a9acbf1fb0f2bc0c576.zip
dev-libs/luksmeta: remove -Werror from configure.ac
Also improve comments in ebuilds Closes: https://bugs.gentoo.org/921710 Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/luksmeta/files/luksmeta-tests.patch1
-rw-r--r--dev-libs/luksmeta/luksmeta-9-r1.ebuild (renamed from dev-libs/luksmeta/luksmeta-9.ebuild)6
2 files changed, 5 insertions, 2 deletions
diff --git a/dev-libs/luksmeta/files/luksmeta-tests.patch b/dev-libs/luksmeta/files/luksmeta-tests.patch
index aeca58861..2cf4a4ae2 100644
--- a/dev-libs/luksmeta/files/luksmeta-tests.patch
+++ b/dev-libs/luksmeta/files/luksmeta-tests.patch
@@ -1,4 +1,3 @@
-# Closes Gentoo bug 837308
# This patch backports the master branch's test-lm-{big,one,two}.c and test-luksmeta.c
# due to failing tests on v9 tag (see https://bugs.gentoo.org/837308)
diff --git a/dev-libs/luksmeta/luksmeta-9.ebuild b/dev-libs/luksmeta/luksmeta-9-r1.ebuild
index b451e73eb..1d04bcebd 100644
--- a/dev-libs/luksmeta/luksmeta-9.ebuild
+++ b/dev-libs/luksmeta/luksmeta-9-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,15 +20,19 @@ BDEPEND="man? ( app-text/asciidoc )
dev-build/libtool"
PATCHES=(
+ # https://bugs.gentoo.org/837308
"${FILESDIR}/${PN}-tests.patch"
)
src_prepare() {
default
eautoreconf
+ # Bug https://bugs.gentoo.org/921710
+ sed -i -e '/^-Werror \\$/d' configure.ac || die
}
src_install() {
default
+ # Bug https://bugs.gentoo.org/839609
find "${ED}" -name '*.la' -delete || die
}