public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jakov Smolić" <jsmolic@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/mtd-utils/files/, sys-fs/mtd-utils/
Date: Mon, 22 Aug 2022 08:18:06 +0000 (UTC)	[thread overview]
Message-ID: <1661156132.f96d62cdb6a8a6e6bf36b83b96ac047ade701149.jsmolic@gentoo> (raw)

commit:     f96d62cdb6a8a6e6bf36b83b96ac047ade701149
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 22 08:15:28 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> 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ć <jsmolic <AT> 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 <sys/vfs.h>
+ #include <sys/mount.h>
+ #include <sys/statvfs.h>
+-#include <linux/fs.h>
+ #include <linux/jffs2.h>
+ 
+ #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
+}


             reply	other threads:[~2022-08-22  8:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22  8:18 Jakov Smolić [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-23 10:43 [gentoo-commits] repo/gentoo:master commit in: sys-fs/mtd-utils/files/, sys-fs/mtd-utils/ David Seifert
2016-04-17  2:20 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1661156132.f96d62cdb6a8a6e6bf36b83b96ac047ade701149.jsmolic@gentoo \
    --to=jsmolic@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox