From: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
To: ptxdist@pengutronix.de
Cc: matthias.schiffer@ew.tq-group.com
Subject: [ptxdist] [PATCH v4] parted: update to 3.3
Date: Mon, 17 Feb 2020 09:53:02 +0100 [thread overview]
Message-ID: <20200217085302.20804-1-matthias.schiffer@ew.tq-group.com> (raw)
In-Reply-To: <20200214103854.2448-2-matthias.schiffer@ew.tq-group.com>
Fixes build against recent glibc.
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
---
...gets-is-defined-before-undefining-it.patch | 26 -------------------
patches/parted-2.3/series | 4 ---
rules/parted.in | 12 ++++-----
rules/parted.make | 10 +++----
4 files changed, 11 insertions(+), 41 deletions(-)
delete mode 100644 patches/parted-2.3/0001-make-sure-gets-is-defined-before-undefining-it.patch
delete mode 100644 patches/parted-2.3/series
diff --git a/patches/parted-2.3/0001-make-sure-gets-is-defined-before-undefining-it.patch b/patches/parted-2.3/0001-make-sure-gets-is-defined-before-undefining-it.patch
deleted file mode 100644
index b2be0f21c..000000000
--- a/patches/parted-2.3/0001-make-sure-gets-is-defined-before-undefining-it.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From: Michael Olbrich <m.olbrich@pengutronix.de>
-Date: Fri, 7 Dec 2012 11:47:58 +0100
-Subject: [PATCH] make sure 'gets' is defined before undefining it
-
-glibc 2.16 has removed gets completely
-
-Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
----
- lib/stdio.in.h | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/lib/stdio.in.h b/lib/stdio.in.h
-index 79dda5f..e3ede74 100644
---- a/lib/stdio.in.h
-+++ b/lib/stdio.in.h
-@@ -142,8 +142,10 @@ _GL_WARN_ON_USE (fflush, "fflush is not always POSIX compliant - "
- /* It is very rare that the developer ever has full control of stdin,
- so any use of gets warrants an unconditional warning. Assume it is
- always declared, since it is required by C89. */
-+#if defined gets
- #undef gets
- _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
-+#endif
-
- #if @GNULIB_FOPEN@
- # if @REPLACE_FOPEN@
diff --git a/patches/parted-2.3/series b/patches/parted-2.3/series
deleted file mode 100644
index 3aed33f27..000000000
--- a/patches/parted-2.3/series
+++ /dev/null
@@ -1,4 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-make-sure-gets-is-defined-before-undefining-it.patch
-# 193fb47748b8a510e34ff1672ac111fc - git-ptx-patches magic
diff --git a/rules/parted.in b/rules/parted.in
index 2e9f54a31..dbaef4b0a 100644
--- a/rules/parted.in
+++ b/rules/parted.in
@@ -1,18 +1,18 @@
-## SECTION=staging
-## old section:
-### SECTION=shell_and_console
+## SECTION=shell_and_console
config PARTED
tristate
prompt "parted"
- select GETTEXT
+ select HOST_GETTEXT
select READLINE
+ select LIBUUID
select E2FSPROGS
select NCURSES
+ depends on !BUSYBOX_PARTPROBE || ALLYES
help
The GNU Parted program allows you to create, destroy, resize, move,
and copy hard disk partitions. Parted can be used for creating space
for new operating systems, reorganizing disk usage, and copying data
to new hard disks.
- STAGING: remove in ptxdist-2020.06.0
- Old version that need to be updated. Fails to build with glibc-2.28.
+comment "busybox' partprobe is selected!"
+ depends on BUSYBOX_PARTPROBE
diff --git a/rules/parted.make b/rules/parted.make
index 6b994f372..eca3f9eee 100644
--- a/rules/parted.make
+++ b/rules/parted.make
@@ -14,10 +14,10 @@ PACKAGES-$(PTXCONF_PARTED) += parted
#
# Paths and names
#
-PARTED_VERSION := 2.3
-PARTED_MD5 := 30ceb6df7e8681891e865e2fe5a7903d
+PARTED_VERSION := 3.3
+PARTED_MD5 := 090655d05f3c471aa8e15a27536889ec
PARTED := parted-$(PARTED_VERSION)
-PARTED_SUFFIX := tar.gz
+PARTED_SUFFIX := tar.xz
PARTED_URL := $(call ptx/mirror, GNU, parted/$(PARTED).$(PARTED_SUFFIX))
PARTED_SOURCE := $(SRCDIR)/$(PARTED).$(PARTED_SUFFIX)
PARTED_DIR := $(BUILDDIR)/$(PARTED)
@@ -29,8 +29,8 @@ PARTED_LICENSE := GPL-3.0-only
PARTED_CONF_TOOL := autoconf
PARTED_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
- --disable-device-mapper \
- --disable-Werror
+ --without-readline \
+ --disable-device-mapper
# ----------------------------------------------------------------------------
# Target-Install
--
2.17.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2020-02-17 8:53 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-13 17:22 [ptxdist] [PATCH] kmscube: switch to https URL Matthias Schiffer
2020-02-13 17:22 ` [ptxdist] [PATCH] parted: update to 3.3 Matthias Schiffer
2020-02-14 8:49 ` Michael Olbrich
2020-02-14 9:07 ` [ptxdist] [PATCH v2] " Matthias Schiffer
2020-02-14 10:38 ` [ptxdist] [PATCH v3] " Matthias Schiffer
2020-02-15 10:05 ` Michael Olbrich
2020-02-17 8:53 ` Matthias Schiffer [this message]
2020-02-13 17:22 ` [ptxdist] [PATCH] gettext: deterministically build with included libraries Matthias Schiffer
2020-02-14 9:12 ` Michael Olbrich
2020-02-14 9:48 ` [ptxdist] (EXT) " Matthias Schiffer
2020-02-14 10:38 ` Matthias Schiffer
2020-02-15 9:27 ` Michael Olbrich
2020-02-13 17:22 ` [ptxdist] [PATCH] gst-plugins-good1: qmlglsink: fix build on EGL platform without X11 headers Matthias Schiffer
2020-02-14 9:18 ` Michael Olbrich
2020-02-13 17:22 ` [ptxdist] [PATCH] varoverlayfs: support kernels without metacopy Matthias Schiffer
2020-02-14 9:21 ` Michael Olbrich
2020-02-14 10:38 ` [ptxdist] [PATCH v2] " Matthias Schiffer
2020-02-13 17:22 ` [ptxdist] [PATCH] syslogng: update to 3.25.1 Matthias Schiffer
2020-02-17 9:38 ` Michael Olbrich
2020-02-17 9:59 ` Michael Olbrich
2020-02-20 8:39 ` [ptxdist] [PATCH v2] " Matthias Schiffer
2020-02-21 7:47 ` Michael Olbrich
2020-02-21 8:30 ` [ptxdist] (EXT) " Matthias Schiffer
2020-03-18 10:50 ` Michael Olbrich
2020-04-03 5:28 ` Michael Olbrich
2020-04-03 8:00 ` [ptxdist] (EXT) " Matthias Schiffer
2020-02-14 8:40 ` [ptxdist] [PATCH] kmscube: switch to https URL Michael Olbrich
2020-02-14 8:53 ` [ptxdist] (EXT) " Matthias Schiffer
2020-02-15 9:29 ` Michael Olbrich
2020-02-17 9:00 ` [ptxdist] [PATCH v2] kmscube: switch to https archive download Matthias Schiffer
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=20200217085302.20804-1-matthias.schiffer@ew.tq-group.com \
--to=matthias.schiffer@ew.tq-group.com \
--cc=ptxdist@pengutronix.de \
/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