summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2021-11-01 07:07:52 +0000
committerwiz <wiz@pkgsrc.org>2021-11-01 07:07:52 +0000
commit987b4861bc0ec8c6ad73a3333f6d53daef550786 (patch)
treea80232030300175c447c9419003cf6260b227ba4
parent05f0b1779abd7e55e4ce3d9f483ecebcbd219353 (diff)
downloadpkgsrc-987b4861bc0ec8c6ad73a3333f6d53daef550786.tar.gz
gawk: update to 5.1.1.
Changes from 5.1.0 to 5.1.1 --------------------------- 1. Infrastructure upgrades: Bison 3.8, Gettext 0.20.2, Automake 1.16.4, and (will wonders never cease) Autoconf 2.71. 2. asort and asorti now allow FUNCTAB and SYMTAB as the first argument if a second destination array is supplied. Similarly, using either array as the second argument is now a fatal error. Additionally, using either array as the destination for split(), match(), etc. also causes a fatal error. 3. The new -I/--trace option prints a trace of the byte codes as they are executed. 4. A number of subtle bugs relating to MPFR mode that caused differences between regular operation and MPFR mode have been fixed. 5. The API now handles MPFR/GMP values slightly differently, requiring different memory management for those values. See the manual for the details if you have an extension using those values. As a result, the minor version was incremented. 6. $0 and the fields are now cleared before starting a BEGINFILE rule. 7. The duplication of m4 and build-aux directories between the main directory and the extension directory has been removed. This simplifies the distribution. 8. The test suite has been improved, making it easier to run the entire suite with -M. Use `GAWK_TEST_ARGS=-M make check' to do so. 9. Profiling and pretty-printing output has been modified slightly so that functions are presented in a reasonable order with respect to the namespaces that contain them. 10. Several example programs in the manual have been updated to their modern POSIX equivalents. 11. A number of examples in doc/gawkinet.texi have been updated for current times. Thanks to Juergen Kahrs for the work. 12. Handling of Infinity and NaN values has been improved. 13. There has been a general tightening up of the use of const and of types. 14. The "no effect" lint warnings have been fixed up and now behave more sanely. 15. The manual has been updated with much more information about what is and is not a bug, and the changes in the gawk mailing lists. 16. The behavior of strongly-typed regexp constants when passed as the third argument to sub() or gsub() has been clarified in the code and in the manual. 17. Similar to item #4 above, division by zero is now fatal in MPFR mode, as it is in regular mode. 18. There have been numerous minor code cleanups and bug fixes. See the ChangeLog for details.
-rw-r--r--lang/gawk/Makefile6
-rw-r--r--lang/gawk/PLIST5
-rw-r--r--lang/gawk/distinfo10
-rw-r--r--lang/gawk/patches/patch-Makefile.in14
4 files changed, 20 insertions, 15 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile
index b77918f1d04..767cc34698f 100644
--- a/lang/gawk/Makefile
+++ b/lang/gawk/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.73 2020/08/24 07:52:03 wiz Exp $
+# $NetBSD: Makefile,v 1.74 2021/11/01 07:07:52 wiz Exp $
-DISTNAME= gawk-5.1.0
+DISTNAME= gawk-5.1.1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gawk/}
EXTRACT_SUFX= .tar.xz
@@ -24,6 +24,8 @@ MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
LDFLAGS.IRIX+= -lgen
CPPFLAGS.OSF1+= -D_OSF_SOURCE
+CHECK_PORTABILITY_SKIP+= doc/gawktexi.in
+
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
diff --git a/lang/gawk/PLIST b/lang/gawk/PLIST
index ce102864a50..1ca07ef7f25 100644
--- a/lang/gawk/PLIST
+++ b/lang/gawk/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.27 2019/10/08 14:19:42 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.28 2021/11/01 07:07:52 wiz Exp $
bin/${PKGNAME}
bin/gawk
gnu/bin/awk
@@ -44,6 +44,7 @@ share/awk/group.awk
share/awk/have_mpfr.awk
share/awk/inplace.awk
share/awk/intdiv0.awk
+share/awk/isnumeric.awk
share/awk/join.awk
share/awk/libintl.awk
share/awk/noassign.awk
@@ -60,6 +61,7 @@ share/awk/shellquote.awk
share/awk/strtonum.awk
share/awk/walkarray.awk
share/awk/zerofile.awk
+share/locale/bg/LC_MESSAGES/gawk.mo
share/locale/ca/LC_MESSAGES/gawk.mo
share/locale/da/LC_MESSAGES/gawk.mo
share/locale/de/LC_MESSAGES/gawk.mo
@@ -75,6 +77,7 @@ share/locale/nl/LC_MESSAGES/gawk.mo
share/locale/pl/LC_MESSAGES/gawk.mo
share/locale/pt/LC_MESSAGES/gawk.mo
share/locale/pt_BR/LC_MESSAGES/gawk.mo
+share/locale/sr/LC_MESSAGES/gawk.mo
share/locale/sv/LC_MESSAGES/gawk.mo
share/locale/vi/LC_MESSAGES/gawk.mo
share/locale/zh_CN/LC_MESSAGES/gawk.mo
diff --git a/lang/gawk/distinfo b/lang/gawk/distinfo
index f04a6f1501f..651ef453060 100644
--- a/lang/gawk/distinfo
+++ b/lang/gawk/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.44 2021/10/26 10:51:35 nia Exp $
+$NetBSD: distinfo,v 1.45 2021/11/01 07:07:52 wiz Exp $
-BLAKE2s (gawk-5.1.0.tar.xz) = 48772ac69dc203f759a464eda44a2db556bd7739341abef73873a83cf8ae9d0a
-SHA512 (gawk-5.1.0.tar.xz) = 971e6a7617eb051d587984f64be2ff830e49eb60721c3401e8944401e3c3a7cd3334f0334b6e28bfc9283aaff15d83b0933f1fd77b0f8c7059068fa3f94c3cb4
-Size (gawk-5.1.0.tar.xz) = 3154564 bytes
-SHA1 (patch-Makefile.in) = 59b1999ebf4d149c450d6c1ad89b63b1e9716380
+BLAKE2s (gawk-5.1.1.tar.xz) = f0a22853d30b4f9db0bb545f979f3a0b68d43b3fdd7d475f89147cd0d1033dfc
+SHA512 (gawk-5.1.1.tar.xz) = 794538fff03fdb9a8527a6898b26383d01988e8f8456f8d48131676387669a8bb3e706fa1a17f6b6316ddba0ebe653c24ad5dd769f357de509d6ec25f3ff1a43
+Size (gawk-5.1.1.tar.xz) = 3250860 bytes
+SHA1 (patch-Makefile.in) = bfbd27f65929754cf00a700d1100312f6184bdf1
SHA1 (patch-extension_Makefile.in) = 07184d54caadbdc4193d1ba2ee52eb557900bdf3
SHA1 (patch-extension_gawkfts.c) = a88ac0ed14be5133cf081bf25ab8663f0f3372a7
SHA1 (patch-extension_inplace.c) = 84b1d8f18ed78a872cd7befa65def30b4bcb3252
diff --git a/lang/gawk/patches/patch-Makefile.in b/lang/gawk/patches/patch-Makefile.in
index 346a8dcee7e..2076e3dc3d7 100644
--- a/lang/gawk/patches/patch-Makefile.in
+++ b/lang/gawk/patches/patch-Makefile.in
@@ -1,20 +1,20 @@
-$NetBSD: patch-Makefile.in,v 1.6 2020/08/24 07:52:03 wiz Exp $
+$NetBSD: patch-Makefile.in,v 1.7 2021/11/01 07:07:52 wiz Exp $
Correct locale location, use names gawk and pgawk unconditionally.
Do not install extras.
---- Makefile.in.orig 2020-04-14 11:44:52.000000000 +0000
+--- Makefile.in.orig 2021-10-28 16:48:29.000000000 +0000
+++ Makefile.in
-@@ -340,7 +340,7 @@ CFLAGS = @CFLAGS@
- CPP = @CPP@
- CPPFLAGS = @CPPFLAGS@
+@@ -352,7 +352,7 @@ CPPFLAGS = @CPPFLAGS@
+ CSCOPE = @CSCOPE@
+ CTAGS = @CTAGS@
CYGPATH_W = @CYGPATH_W@
-DEFS = -DDEFPATH=$(DEFPATH) -DDEFLIBPATH=$(DEFLIBPATH) -DSHLIBEXT=$(SHLIBEXT) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"$(datadir)/locale"' -I"$(srcdir)/support"
+DEFS = -DDEFPATH=$(DEFPATH) -DDEFLIBPATH=$(DEFLIBPATH) -DSHLIBEXT=$(SHLIBEXT) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"$(prefix)/$(PKGLOCALEDIR)/locale"' -I"$(srcdir)/support"
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
-@@ -499,7 +499,7 @@ EXTRA_DIST = \
+@@ -507,7 +507,7 @@ EXTRA_DIST = \
# Build in awklib after in doc, since we want to extract
# sample files if doc/gawk.texi changed.
@@ -23,7 +23,7 @@ Do not install extras.
include_HEADERS = gawkapi.h
BUILT_SOURCES = $(srcdir)/pc/Makefile.tst
-@@ -1241,9 +1241,7 @@ install-exec-hook:
+@@ -1251,9 +1251,7 @@ install-exec-hook:
(cd $(DESTDIR)$(bindir); \
name=`echo gawk | sed '$(transform)'` ; \
$(LN) $${name}$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \