summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>2020-02-17 09:53:02 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-02-17 11:27:43 +0100
commitff2fb9a12351680265a4e0586f91e54a54c546bb (patch)
treec39bafd7f316d7a8d0b6e7a8a067678952d6e2ef /patches
parent25d941bdf7f767e43be36840442a34fc44c65a40 (diff)
downloadptxdist-ff2fb9a12351680265a4e0586f91e54a54c546bb.tar.gz
ptxdist-ff2fb9a12351680265a4e0586f91e54a54c546bb.tar.xz
parted: update to 3.3
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> Message-Id: <20200217085302.20804-1-matthias.schiffer@ew.tq-group.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/parted-2.3/0001-make-sure-gets-is-defined-before-undefining-it.patch26
-rw-r--r--patches/parted-2.3/series4
2 files changed, 0 insertions, 30 deletions
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