Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/zisofs-tools/
Date: Wed, 30 Nov 2022 05:28:05
Message-Id: 1669785394.a90b7d3dd874a0384525aa1a57a70b3043a85bc1.sam@gentoo
1 commit: a90b7d3dd874a0384525aa1a57a70b3043a85bc1
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 30 05:16:34 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 30 05:16:34 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90b7d3d
7
8 app-misc/zisofs-tools: fix configure w/ clang 16
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 ...fs-tools-1.0.8.ebuild => zisofs-tools-1.0.8-r1.ebuild} | 15 ++++++++++++---
13 1 file changed, 12 insertions(+), 3 deletions(-)
14
15 diff --git a/app-misc/zisofs-tools/zisofs-tools-1.0.8.ebuild b/app-misc/zisofs-tools/zisofs-tools-1.0.8-r1.ebuild
16 similarity index 75%
17 rename from app-misc/zisofs-tools/zisofs-tools-1.0.8.ebuild
18 rename to app-misc/zisofs-tools/zisofs-tools-1.0.8-r1.ebuild
19 index 75a2dae5c72f..6e7e459dbbec 100644
20 --- a/app-misc/zisofs-tools/zisofs-tools-1.0.8.ebuild
21 +++ b/app-misc/zisofs-tools/zisofs-tools-1.0.8-r1.ebuild
22 @@ -1,8 +1,9 @@
23 # Copyright 1999-2022 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=7
27 -inherit flag-o-matic
28 +EAPI=8
29 +
30 +inherit autotools flag-o-matic
31
32 DESCRIPTION="User utilities for zisofs"
33 HOMEPAGE="https://www.kernel.org/pub/linux/utils/fs/zisofs/"
34 @@ -13,9 +14,17 @@ SLOT="0"
35 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
36 IUSE="static"
37
38 -RDEPEND=">=sys-libs/zlib-1.1.4:0="
39 +RDEPEND=">=sys-libs/zlib-1.1.4:="
40 DEPEND="${RDEPEND}"
41
42 +src_prepare() {
43 + default
44 +
45 + # Clang 16
46 + sed -i -e 's:configure.in:configure.ac:' Makefile || die
47 + eautoreconf
48 +}
49 +
50 src_configure() {
51 use static && append-ldflags -static
52 default