summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-02-06 00:47:46 (GMT)
committerAlexey Neyman <stilor@att.net>2022-02-11 08:47:51 (GMT)
commita59503c8722f25097d58a81838e57e9afcb66614 (patch)
tree61dd5cdf5caaec4d1f6ef7f155b6ea8a23b117fb
parent58da27c96589f502744a77b1288172ab75df052c (diff)
Update m4 to 1.4.19
This fixes the x86_64-multilib-linux-uclibc,powerpc-unknown-elf canadian cross example (which currently breaks because the gnulib example assumes SIGSTKSZ is constant while recent libcs started defining it as a sysconf(...) call. Signed-off-by: Alexey Neyman <stilor@att.net>
-rw-r--r--packages/m4/1.4.18/0000-fix-glibc-2.28.patch144
-rw-r--r--packages/m4/1.4.18/chksum12
-rw-r--r--packages/m4/1.4.19/chksum12
-rw-r--r--packages/m4/1.4.19/version.desc (renamed from packages/m4/1.4.18/version.desc)0
4 files changed, 12 insertions, 156 deletions
diff --git a/packages/m4/1.4.18/0000-fix-glibc-2.28.patch b/packages/m4/1.4.18/0000-fix-glibc-2.28.patch
deleted file mode 100644
index d47a709..0000000
--- a/packages/m4/1.4.18/0000-fix-glibc-2.28.patch
+++ /dev/null
@@ -1,144 +0,0 @@
-commit 4af4a4a71827c0bc5e0ec67af23edef4f15cee8e
-Author: Paul Eggert <eggert@cs.ucla.edu>
-Date: Mon Mar 5 10:56:29 2018 -0800
-
- fflush: adjust to glibc 2.28 libio.h removal
-
- Problem reported by Daniel P. Berrangé in:
- https://lists.gnu.org/r/bug-gnulib/2018-03/msg00000.html
- * lib/fbufmode.c (fbufmode):
- * lib/fflush.c (clear_ungetc_buffer_preserving_position)
- (disable_seek_optimization, rpl_fflush):
- * lib/fpending.c (__fpending):
- * lib/fpurge.c (fpurge):
- * lib/freadable.c (freadable):
- * lib/freadahead.c (freadahead):
- * lib/freading.c (freading):
- * lib/freadptr.c (freadptr):
- * lib/freadseek.c (freadptrinc):
- * lib/fseeko.c (fseeko):
- * lib/fseterr.c (fseterr):
- * lib/fwritable.c (fwritable):
- * lib/fwriting.c (fwriting):
- Check _IO_EOF_SEEN instead of _IO_ftrylockfile.
- * lib/stdio-impl.h (_IO_IN_BACKUP) [_IO_EOF_SEEN]:
- Define if not already defined.
-
----
- lib/fflush.c | 6 +++---
- lib/fpending.c | 2 +-
- lib/fpurge.c | 2 +-
- lib/freadahead.c | 2 +-
- lib/freading.c | 2 +-
- lib/fseeko.c | 4 ++--
- lib/stdio-impl.h | 6 ++++++
- 7 files changed, 15 insertions(+), 9 deletions(-)
-
---- a/lib/fflush.c
-+++ b/lib/fflush.c
-@@ -33,7 +33,7 @@
- #undef fflush
-
-
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-
- /* Clear the stream's ungetc buffer, preserving the value of ftello (fp). */
- static void
-@@ -72,7 +72,7 @@
-
- #endif
-
--#if ! (defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */)
-+#if ! (defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */)
-
- # if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT
- /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
-@@ -148,7 +148,7 @@
- if (stream == NULL || ! freading (stream))
- return fflush (stream);
-
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-
- clear_ungetc_buffer_preserving_position (stream);
-
---- a/lib/fpending.c
-+++ b/lib/fpending.c
-@@ -32,7 +32,7 @@
- /* Most systems provide FILE as a struct and the necessary bitmask in
- <stdio.h>, because they need it for implementing getc() and putc() as
- fast macros. */
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- return fp->_IO_write_ptr - fp->_IO_write_base;
- #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
- /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
---- a/lib/fpurge.c
-+++ b/lib/fpurge.c
-@@ -62,7 +62,7 @@
- /* Most systems provide FILE as a struct and the necessary bitmask in
- <stdio.h>, because they need it for implementing getc() and putc() as
- fast macros. */
--# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- fp->_IO_read_end = fp->_IO_read_ptr;
- fp->_IO_write_ptr = fp->_IO_write_base;
- /* Avoid memory leak when there is an active ungetc buffer. */
---- a/lib/freadahead.c
-+++ b/lib/freadahead.c
-@@ -25,7 +25,7 @@
- size_t
- freadahead (FILE *fp)
- {
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- if (fp->_IO_write_ptr > fp->_IO_write_base)
- return 0;
- return (fp->_IO_read_end - fp->_IO_read_ptr)
---- a/lib/freading.c
-+++ b/lib/freading.c
-@@ -31,7 +31,7 @@
- /* Most systems provide FILE as a struct and the necessary bitmask in
- <stdio.h>, because they need it for implementing getc() and putc() as
- fast macros. */
--# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- return ((fp->_flags & _IO_NO_WRITES) != 0
- || ((fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0
- && fp->_IO_read_base != NULL));
---- a/lib/fseeko.c
-+++ b/lib/fseeko.c
-@@ -47,7 +47,7 @@
- #endif
-
- /* These tests are based on fpurge.c. */
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- if (fp->_IO_read_end == fp->_IO_read_ptr
- && fp->_IO_write_ptr == fp->_IO_write_base
- && fp->_IO_save_base == NULL)
-@@ -123,7 +123,7 @@
- return -1;
- }
-
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- fp->_flags &= ~_IO_EOF_SEEN;
- fp->_offset = pos;
- #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
---- a/lib/stdio-impl.h
-+++ b/lib/stdio-impl.h
-@@ -18,6 +18,12 @@
- the same implementation of stdio extension API, except that some fields
- have different naming conventions, or their access requires some casts. */
-
-+/* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this
-+ problem by defining it ourselves. FIXME: Do not rely on glibc
-+ internals. */
-+#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN
-+# define _IO_IN_BACKUP 0x100
-+#endif
-
- /* BSD stdio derived implementations. */
-
diff --git a/packages/m4/1.4.18/chksum b/packages/m4/1.4.18/chksum
deleted file mode 100644
index cea7472..0000000
--- a/packages/m4/1.4.18/chksum
+++ /dev/null
@@ -1,12 +0,0 @@
-md5 m4-1.4.18.tar.xz 730bb15d96fffe47e148d1e09235af82
-sha1 m4-1.4.18.tar.xz 228604686ca23f42e48b98930babeb5d217f1899
-sha256 m4-1.4.18.tar.xz f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07
-sha512 m4-1.4.18.tar.xz 06f583efc3855cd8477d8347544f4ae5153a3e50aea74d21968afa7214784ea3ddfc02d0a2b11324120d76a19f2e804d20de11a456b5da929eb6ae469519b174
-md5 m4-1.4.18.tar.bz2 199fff9c87f1c920dab5c8757811e146
-sha1 m4-1.4.18.tar.bz2 63224a10becb5f527542b2e7baf2a1572666dbed
-sha256 m4-1.4.18.tar.bz2 6640d76b043bc658139c8903e293d5978309bf0f408107146505eca701e67cf6
-sha512 m4-1.4.18.tar.bz2 45dcf67df017ccd5482c9f96f83c7fd2d16b176bffa4c6cdc11a8810b8b624ab0bbb976c8ab5c97bac8092ef9de21d5934df4303cc0e4a5328fd8ab4231dabd0
-md5 m4-1.4.18.tar.gz a077779db287adf4e12a035029002d28
-sha1 m4-1.4.18.tar.gz 2f76f8105a45b05c8cfede97b3193cd88b31c657
-sha256 m4-1.4.18.tar.gz ab2633921a5cd38e48797bf5521ad259bdc4b979078034a3b790d7fec5493fab
-sha512 m4-1.4.18.tar.gz 29254dd4267a093e8d9da3a26df8b02564044cdb4506be539ec1aff4e5d406477bcf32f5e813c840f3aec77293bfe2cdde18f6a21724a7e0bfff646ec88b74ae
diff --git a/packages/m4/1.4.19/chksum b/packages/m4/1.4.19/chksum
new file mode 100644
index 0000000..093966e
--- /dev/null
+++ b/packages/m4/1.4.19/chksum
@@ -0,0 +1,12 @@
+md5 m4-1.4.19.tar.xz 0d90823e1426f1da2fd872df0311298d
+sha1 m4-1.4.19.tar.xz b44b5c9746b69ee19204b7cb76d3a7b3eac69259
+sha256 m4-1.4.19.tar.xz 63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96
+sha512 m4-1.4.19.tar.xz 47f595845c89709727bda0b3fc78e3188ef78ec818965b395532e7041cabe9e49677ee4aca3d042930095a7f8df81de3da1026b23b6897be471f6cf13ddd512b
+md5 m4-1.4.19.tar.bz2 a8ff6fc3235eab3a4adb53611fdddacd
+sha1 m4-1.4.19.tar.bz2 7dd5aab713b50108bfbce47aea4968d630bf9511
+sha256 m4-1.4.19.tar.bz2 b306a91c0fd93bc4280cfc2e98cb7ab3981ff75a187bea3293811f452c89a8c8
+sha512 m4-1.4.19.tar.bz2 91c85925b83dd735dad34860756ab636f88e276d39827e81ec13f33b0b36cd42c9729c53faf4e1db101e32eecebec933799fc64cb16d138e68dbba7710d4bd19
+md5 m4-1.4.19.tar.gz f4a2b0284d80353b995f8ef2385ed73c
+sha1 m4-1.4.19.tar.gz 1b9141800f481353b8bcfafe8ec03d3d95f03f64
+sha256 m4-1.4.19.tar.gz 3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70
+sha512 m4-1.4.19.tar.gz f5dd0f02fcae65a176a16af9a8e1747c26e9440c6c224003ba458d3298b777a75ffb189aee9051fb0c4840b2a48278be4a51d959381af0b1d627570f478c58f2
diff --git a/packages/m4/1.4.18/version.desc b/packages/m4/1.4.19/version.desc
index e69de29..e69de29 100644
--- a/packages/m4/1.4.18/version.desc
+++ b/packages/m4/1.4.19/version.desc