From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1665E158096 for ; Mon, 22 Aug 2022 08:18:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A09A8E0959; Mon, 22 Aug 2022 08:18:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2FBB6E0958 for ; Mon, 22 Aug 2022 08:18:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 36554340F40 for ; Mon, 22 Aug 2022 08:18:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C345558 for ; Mon, 22 Aug 2022 08:18:06 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1661156132.f96d62cdb6a8a6e6bf36b83b96ac047ade701149.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/mtd-utils/files/, sys-fs/mtd-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/mtd-utils/files/mtd-utils-2.1.4-glibc-2.36.patch sys-fs/mtd-utils/mtd-utils-2.1.4-r1.ebuild X-VCS-Directories: sys-fs/mtd-utils/files/ sys-fs/mtd-utils/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: f96d62cdb6a8a6e6bf36b83b96ac047ade701149 X-VCS-Branch: master Date: Mon, 22 Aug 2022 08:18:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7e46d104-c4e4-446f-88f8-014bd9a3fbf5 X-Archives-Hash: f1a671646ba0eb222fc25328d44a4bb3 commit: f96d62cdb6a8a6e6bf36b83b96ac047ade701149 Author: Jakov Smolić gentoo org> AuthorDate: Mon Aug 22 08:15:28 2022 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Mon Aug 22 08:15:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f96d62cd sys-fs/mtd-utils: Add glibc-2.36 patch Closes: https://bugs.gentoo.org/864346 Signed-off-by: Jakov Smolić gentoo.org> .../files/mtd-utils-2.1.4-glibc-2.36.patch | 17 ++++++++ sys-fs/mtd-utils/mtd-utils-2.1.4-r1.ebuild | 47 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/sys-fs/mtd-utils/files/mtd-utils-2.1.4-glibc-2.36.patch b/sys-fs/mtd-utils/files/mtd-utils-2.1.4-glibc-2.36.patch new file mode 100644 index 000000000000..69bd1009945f --- /dev/null +++ b/sys-fs/mtd-utils/files/mtd-utils-2.1.4-glibc-2.36.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/864346 + +X-Git-Url: https://git.infradead.org/mtd-utils.git/blobdiff_plain/a315011bd3c237660436e0c796743d61acf4a7b6..ac98b3fc7cb9c122bea4b5d1d351727eb4ea0bac:/tests/fs-tests/lib/tests.c + +diff --git a/tests/fs-tests/lib/tests.c b/tests/fs-tests/lib/tests.c +index d1a2e0c..3db0426 100644 +--- a/tests/fs-tests/lib/tests.c ++++ b/tests/fs-tests/lib/tests.c +@@ -35,7 +35,6 @@ + #include + #include + #include +-#include + #include + + #include "tests.h" + 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 +}