diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-08-22 10:15:28 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-08-22 10:15:32 +0200 |
commit | f96d62cdb6a8a6e6bf36b83b96ac047ade701149 (patch) | |
tree | 0fe81081cbc1aa2d4ed7aeb66d3725cdb7a014d9 /sys-fs/mtd-utils/mtd-utils-2.1.4-r1.ebuild | |
parent | dev-haskell/ac-ppm: treeclean (diff) | |
download | gentoo-f96d62cdb6a8a6e6bf36b83b96ac047ade701149.tar.gz gentoo-f96d62cdb6a8a6e6bf36b83b96ac047ade701149.tar.bz2 gentoo-f96d62cdb6a8a6e6bf36b83b96ac047ade701149.zip |
sys-fs/mtd-utils: Add glibc-2.36 patch
Closes: https://bugs.gentoo.org/864346
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'sys-fs/mtd-utils/mtd-utils-2.1.4-r1.ebuild')
-rw-r--r-- | sys-fs/mtd-utils/mtd-utils-2.1.4-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sys-fs/mtd-utils/mtd-utils-2.1.4-r1.ebuild b/sys-fs/mtd-utils/mtd-utils-2.1.4-r1.ebuild new file mode 100644 index 000000000000..615da14e7db2 --- /dev/null +++ b/sys-fs/mtd-utils/mtd-utils-2.1.4-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +DESCRIPTION="MTD userspace tools (NFTL, JFFS2, NAND, FTL, UBI)" +HOMEPAGE="https://git.infradead.org/?p=mtd-utils.git;a=summary" +SRC_URI="https://infraroot.at/pub/mtd/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="+lzo xattr +zstd" + +DEPEND=" + sys-apps/util-linux:= + sys-libs/zlib:= + lzo? ( dev-libs/lzo:= ) + xattr? ( sys-apps/acl ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND="${DEPEND}" + +DOCS=( jffsX-utils/device_table.txt ubifs-utils/mkfs.ubifs/README ) + +PATCHES=( + "${FILESDIR}"/${P}-glibc-2.36.patch +) + +src_prepare() { + default + sed -i '/if test.*then/s: == : = :' configure || die +} + +src_configure() { + econf \ + $(use_with lzo) \ + $(use_with xattr) \ + $(use_with zstd) +} + +src_install() { + default + doman \ + jffsX-utils/mkfs.jffs2.1 \ + ubi-utils/ubinize.8 +} |