pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/m4 m4: update to 1.4.19.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7636a82f876d
branches:  trunk
changeset: 455139:7636a82f876d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jun 28 18:30:57 2021 +0000

description:
m4: update to 1.4.19.

* Noteworthy changes in release 1.4.19 (2021-05-28) [stable]

** A number of portability improvements inherited from gnulib, including
   the ability to perform stack overflow detection on more platforms
   without linking to GNU libsigsegv.

* Noteworthy changes in release 1.4.18d (2021-05-11) [beta]

** A number of portability improvements inherited from gnulib.


* Noteworthy changes in release 1.4.18b (2021-05-07) [beta]

** The symbol hash table now defaults to 65537 buckets instead of 509, as
   modern systems have enough memory to benefit from fewer hash collisions
   by default.

** Introduce the use of gettext, with the immediate benefit of nicer
   UTF-8 author names.  Over time, more translations of program messages
   will become available.

** A number of portability improvements inherited from gnulib.

diffstat:

 devel/m4/Makefile                              |   5 +-
 devel/m4/distinfo                              |  25 +++---------
 devel/m4/patches/patch-isnan.c                 |   4 +-
 devel/m4/patches/patch-lib_fflush.c            |  37 ------------------
 devel/m4/patches/patch-lib_fpending.c          |  17 --------
 devel/m4/patches/patch-lib_fpurge.c            |  17 --------
 devel/m4/patches/patch-lib_freadahead.c        |  17 --------
 devel/m4/patches/patch-lib_freading.c          |  17 --------
 devel/m4/patches/patch-lib_fseeko.c            |  35 -----------------
 devel/m4/patches/patch-lib_getprogname.c       |  52 --------------------------
 devel/m4/patches/patch-lib_stdio-impl.h        |  31 ---------------
 devel/m4/patches/patch-lib_stdio.in.h          |  16 --------
 devel/m4/patches/patch-lib_strerror_override.c |   4 +-
 devel/m4/patches/patch-lib_vasnprintf.c        |  33 ----------------
 devel/m4/patches/patch-lib_xalloc-oversized.h  |  16 --------
 15 files changed, 15 insertions(+), 311 deletions(-)

diffs (truncated from 397 to 300 lines):

diff -r c728448a8948 -r 7636a82f876d devel/m4/Makefile
--- a/devel/m4/Makefile Mon Jun 28 18:20:46 2021 +0000
+++ b/devel/m4/Makefile Mon Jun 28 18:30:57 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.78 2020/01/18 23:30:34 rillig Exp $
+# $NetBSD: Makefile,v 1.79 2021/06/28 18:30:57 wiz Exp $
 
-DISTNAME=      m4-1.4.18
-PKGREVISION=   2
+DISTNAME=      m4-1.4.19
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=m4/}
 
diff -r c728448a8948 -r 7636a82f876d devel/m4/distinfo
--- a/devel/m4/distinfo Mon Jun 28 18:20:46 2021 +0000
+++ b/devel/m4/distinfo Mon Jun 28 18:30:57 2021 +0000
@@ -1,19 +1,8 @@
-$NetBSD: distinfo,v 1.47 2020/08/29 21:39:14 js Exp $
+$NetBSD: distinfo,v 1.48 2021/06/28 18:30:57 wiz Exp $
 
-SHA1 (m4-1.4.18.tar.gz) = 2f76f8105a45b05c8cfede97b3193cd88b31c657
-RMD160 (m4-1.4.18.tar.gz) = 16396a6ffbb2105cdd0a36c773b44d16854ed740
-SHA512 (m4-1.4.18.tar.gz) = 29254dd4267a093e8d9da3a26df8b02564044cdb4506be539ec1aff4e5d406477bcf32f5e813c840f3aec77293bfe2cdde18f6a21724a7e0bfff646ec88b74ae
-Size (m4-1.4.18.tar.gz) = 2006643 bytes
-SHA1 (patch-isnan.c) = a960f35e5168bed47c5924e36bfb254dc1a44621
-SHA1 (patch-lib_fflush.c) = 137acee69f093c4a97c9b35ef683785950af98c1
-SHA1 (patch-lib_fpending.c) = b44147cfc707be434237c6102a95290e3f444ae6
-SHA1 (patch-lib_fpurge.c) = 8c9f83d5f0be42bdddbb57b17b60a1108a6966f8
-SHA1 (patch-lib_freadahead.c) = 112fe7901d0103ab2336bd1a3455603ade99e202
-SHA1 (patch-lib_freading.c) = dd2497aaf6680cdc1fb76182bef193fae00a5333
-SHA1 (patch-lib_fseeko.c) = 6edb69d85da7c709ac952eab67cc14ef1fde7654
-SHA1 (patch-lib_getprogname.c) = 3a8e7c028342ef3a9f86839f1a5ae36571a65f12
-SHA1 (patch-lib_stdio-impl.h) = 918520e029277a12e66b3644740ffca2e9754f38
-SHA1 (patch-lib_stdio.in.h) = 21557ea9d86dbeb36062df4e62cb71735b06480b
-SHA1 (patch-lib_strerror_override.c) = 58e01b56022e117183b912913b8b0f7e64dea9a8
-SHA1 (patch-lib_vasnprintf.c) = 2bced6c121efc9bc5894174c7745ba89e8f53033
-SHA1 (patch-lib_xalloc-oversized.h) = 9e74adec2f43770d419f60d5c3e7bdea2424daa6
+SHA1 (m4-1.4.19.tar.gz) = 1b9141800f481353b8bcfafe8ec03d3d95f03f64
+RMD160 (m4-1.4.19.tar.gz) = e42a1d0bcec2f27e3e2b64055e7890ff0144f038
+SHA512 (m4-1.4.19.tar.gz) = f5dd0f02fcae65a176a16af9a8e1747c26e9440c6c224003ba458d3298b777a75ffb189aee9051fb0c4840b2a48278be4a51d959381af0b1d627570f478c58f2
+Size (m4-1.4.19.tar.gz) = 2953876 bytes
+SHA1 (patch-isnan.c) = ced386b73e5fbace021fe5d2e9abb5025e3a90be
+SHA1 (patch-lib_strerror_override.c) = 29905fecf6c92f75c4999f1e3cb56e14fe2f4aae
diff -r c728448a8948 -r 7636a82f876d devel/m4/patches/patch-isnan.c
--- a/devel/m4/patches/patch-isnan.c    Mon Jun 28 18:20:46 2021 +0000
+++ b/devel/m4/patches/patch-isnan.c    Mon Jun 28 18:30:57 2021 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-isnan.c,v 1.1 2013/10/29 17:34:04 jklos Exp $
+$NetBSD: patch-isnan.c,v 1.2 2021/06/28 18:30:57 wiz Exp $
+
+Skip NaN on VAX.
 
 --- lib/isnan.c.orig   2013-09-22 06:15:20.000000000 +0000
 +++ lib/isnan.c
diff -r c728448a8948 -r 7636a82f876d devel/m4/patches/patch-lib_fflush.c
--- a/devel/m4/patches/patch-lib_fflush.c       Mon Jun 28 18:20:46 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-$NetBSD: patch-lib_fflush.c,v 1.1 2019/01/06 05:45:30 gutteridge Exp $
-
-Work around glibc changes that broke dependent gnulib functionality.
-Patch from: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=74d9d6a293d7462dea8f83e7fc5ac792e956a0ad
-
---- lib/fflush.c.orig  2016-12-31 13:54:41.000000000 +0000
-+++ lib/fflush.c
-@@ -33,7 +33,8 @@
- #undef fflush
- 
- 
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __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,8 @@ clear_ungetc_buffer (FILE *fp)
- 
- #endif
- 
--#if ! (defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */)
-+#if ! (defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __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,8 @@ rpl_fflush (FILE *stream)
-   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 || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1
-+  /* GNU libc, BeOS, Haiku, Linux libc5 */
- 
-   clear_ungetc_buffer_preserving_position (stream);
- 
diff -r c728448a8948 -r 7636a82f876d devel/m4/patches/patch-lib_fpending.c
--- a/devel/m4/patches/patch-lib_fpending.c     Mon Jun 28 18:20:46 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-lib_fpending.c,v 1.1 2019/01/06 05:45:30 gutteridge Exp $
-
-Work around glibc changes that broke dependent gnulib functionality.
-Patch from: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=74d9d6a293d7462dea8f83e7fc5ac792e956a0ad
-
---- lib/fpending.c.orig        2016-12-31 13:54:41.000000000 +0000
-+++ lib/fpending.c
-@@ -32,7 +32,8 @@ __fpending (FILE *fp)
-   /* 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 || defined _IO_ftrylockfile || __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 */
diff -r c728448a8948 -r 7636a82f876d devel/m4/patches/patch-lib_fpurge.c
--- a/devel/m4/patches/patch-lib_fpurge.c       Mon Jun 28 18:20:46 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-lib_fpurge.c,v 1.1 2019/01/06 05:45:30 gutteridge Exp $
-
-Work around glibc changes that broke dependent gnulib functionality.
-Patch from: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=74d9d6a293d7462dea8f83e7fc5ac792e956a0ad
-
---- lib/fpurge.c.orig  2016-12-31 13:54:41.000000000 +0000
-+++ lib/fpurge.c
-@@ -62,7 +62,8 @@ fpurge (FILE *fp)
-   /* 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 || defined _IO_ftrylockfile || __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.  */
diff -r c728448a8948 -r 7636a82f876d devel/m4/patches/patch-lib_freadahead.c
--- a/devel/m4/patches/patch-lib_freadahead.c   Mon Jun 28 18:20:46 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-lib_freadahead.c,v 1.1 2019/01/06 05:45:30 gutteridge Exp $
-
-Work around glibc changes that broke dependent gnulib functionality.
-Patch from: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=74d9d6a293d7462dea8f83e7fc5ac792e956a0ad
-
---- lib/freadahead.c.orig      2016-12-31 13:54:41.000000000 +0000
-+++ lib/freadahead.c
-@@ -25,7 +25,8 @@
- size_t
- freadahead (FILE *fp)
- {
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __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)
diff -r c728448a8948 -r 7636a82f876d devel/m4/patches/patch-lib_freading.c
--- a/devel/m4/patches/patch-lib_freading.c     Mon Jun 28 18:20:46 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-lib_freading.c,v 1.1 2019/01/06 05:45:30 gutteridge Exp $
-
-Work around glibc changes that broke dependent gnulib functionality.
-Patch from: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=74d9d6a293d7462dea8f83e7fc5ac792e956a0ad
-
---- lib/freading.c.orig        2016-12-31 13:54:41.000000000 +0000
-+++ lib/freading.c
-@@ -31,7 +31,8 @@ freading (FILE *fp)
-   /* 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 || defined _IO_ftrylockfile || __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));
diff -r c728448a8948 -r 7636a82f876d devel/m4/patches/patch-lib_fseeko.c
--- a/devel/m4/patches/patch-lib_fseeko.c       Mon Jun 28 18:20:46 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-$NetBSD: patch-lib_fseeko.c,v 1.2 2019/01/06 05:45:30 gutteridge Exp $
-
-Treat Minix 3 same as NetBSD
-
-Work around glibc changes that broke dependent gnulib functionality.
-Patch from: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=74d9d6a293d7462dea8f83e7fc5ac792e956a0ad
-
---- lib/fseeko.c.orig  2016-12-31 13:54:41.000000000 +0000
-+++ lib/fseeko.c
-@@ -47,7 +47,8 @@ fseeko (FILE *fp, off_t offset, int when
- #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 || defined _IO_ftrylockfile || __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,12 +124,13 @@ fseeko (FILE *fp, off_t offset, int when
-           return -1;
-         }
- 
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1
-+  /* GNU libc, BeOS, Haiku, Linux libc5 */
-       fp->_flags &= ~_IO_EOF_SEEN;
-       fp->_offset = pos;
- #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
-       /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
--# if defined __CYGWIN__ || (defined __NetBSD__ && __NetBSD_Version__ >= 600000000)
-+# if defined __CYGWIN__ || (defined __NetBSD__ && __NetBSD_Version__ >= 600000000) || defined __Minix__
-       /* fp_->_offset is typed as an integer.  */
-       fp_->_offset = pos;
- # else
diff -r c728448a8948 -r 7636a82f876d devel/m4/patches/patch-lib_getprogname.c
--- a/devel/m4/patches/patch-lib_getprogname.c  Mon Jun 28 18:20:46 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-$NetBSD: patch-lib_getprogname.c,v 1.1 2018/03/13 20:26:43 jmcneill Exp $
-
---- lib/getprogname.c.orig     Tue Mar 13 15:45:15 AST 2018
-+++ lib/getprogname.c  Tue Mar 13 15:49:41 AST 2018
-@@ -43,6 +43,14 @@
- # include <string.h>
- #endif
- 
-+#ifdef __sgi
-+# include <string.h>
-+# include <unistd.h>
-+# include <stdio.h>
-+# include <fcntl.h>
-+# include <sys/procfs.h>
-+#endif
-+
- #include "dirname.h"
- 
- #ifndef HAVE_GETPROGNAME             /* not Mac OS X, FreeBSD, NetBSD, OpenBSD >= 5.4, Cygwin */
-@@ -143,6 +151,32 @@
-       free (buf.ps_pathptr);
-     }
-   return p;
-+# elif defined __sgi
-+  char filename[50];
-+  int fd;
-+
-+  sprintf (filename, "/proc/pinfo/%d", (int) getpid ());
-+  fd = open (filename, O_RDONLY);
-+  if (0 <= fd)
-+    {
-+      prpsinfo_t buf;
-+      int ioctl_ok = 0 <= ioctl (fd, PIOCPSINFO, &buf);
-+      close (fd);
-+      if (ioctl_ok)
-+      {
-+        char *name = buf.pr_fname;
-+        char *namesize = sizeof buf.pr_fname;
-+        char *namenul = memchr (name, '\0', namesize);
-+        size_t namelen = namenul ? namenul - name : namesize;
-+        char *namecopy = malloc (namelen + 1);
-+        if (namecopy)
-+          {
-+            namecopy[namelen] = 0;
-+            return memcpy (namecopy, name, namelen);
-+          }
-+      }
-+    }
-+  return NULL;
- # else
- #  error "getprogname module not ported to this OS"
- # endif
diff -r c728448a8948 -r 7636a82f876d devel/m4/patches/patch-lib_stdio-impl.h
--- a/devel/m4/patches/patch-lib_stdio-impl.h   Mon Jun 28 18:20:46 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-$NetBSD: patch-lib_stdio-impl.h,v 1.2 2019/01/06 05:45:30 gutteridge Exp $
-
-Treat Minix 3 same as NetBSD
-
-Work around glibc changes that broke dependent gnulib functionality.
-Patch from: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=4af4a4a71827c0bc5e0ec67af23edef4f15cee8e
-
---- lib/stdio-impl.h.orig      2016-12-31 13:54:42.000000000 +0000
-+++ 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.  */
- 



Home | Main Index | Thread Index | Old Index