pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/gawk Changes 3.1.6:
details: https://anonhg.NetBSD.org/pkgsrc/rev/519288c4cdfa
branches: trunk
changeset: 534838:519288c4cdfa
user: adam <adam%pkgsrc.org@localhost>
date: Fri Nov 02 07:17:59 2007 +0000
description:
Changes 3.1.6:
1. `gawk 'program' /non/existant/file' no longer core dumps.
2. gawk now only uses the locale's decimal point
3. `gawk -v BINMODE=1 ...' works again.
4. Internal file names like `/dev/user' now work again. (Note that these
file names are obsolete and will go away eventually.)
5. Problems with wide strings in non "C" locales have been straightened
out everywhere. (At least, we think so.)
6. Use of `ansi2knr' is no longer supported. Please use an ANSI C compiler.
7. Updated to Autoconf 2.61, Automake 1.10, and Gettext 0.16.1.
8. The getopt* and regex* files were synchronized with current GLIBC CVS.
See the ChangeLog for the versions and minor edits made.
9. There are additional --lint-old warnings.
10. Gawk now uses getaddrinfo(3) to look up names and IP addresses. This
allows the use of an IPv6 format address and paves the way for
eventual addition of `/inet6/...' and `/inet4/...' hostnames.
11. We believe gawk to now be valgrind clean. At least when run against
the test suite.
12. A number of issues dealing with the formatting and printing of very
large numbers in integer formats have been dealt with and fixed.
13. Gawk now converts "+inf", "-inf", "+nan" and "-nan" into the corresponding
magic IEEE floating point values. Only those strings (case independent)
work. With --posix, gawk calls the system strtod directly. You asked
for it, you got it, you deal with it.
14. Defining YYDEBUG enables the -D command line option.
15. Gawk should now work out of the box on Tandem NSK/OSS systems.
16. Lint messages rationalized: many more of the messages are now printed
only once, instead of every time they are encountered.
17. The strftime() function now accepts an optional third argument, which
if non-zero or non-null, indicates that the time should be formatted
as UTC instead of as local time.
18. The precedence of concatenation and `| getline' (in something like
"echo " "date" | getline stuff) has been reverted to the earlier
behavior and now once again matches Unix awk.
19. New configure time flag --disable-directories-fatal which causes
gawk to silently skip directories on the command line. This behavior
is also enabled for --traditional, since it's what Unix awk does.
20. A new option, --use-lc-numeric, forces use of the locale's decimal
point without the rest of the draconian restrictions imposed by
--posix. This softens somewhat the stance taken in item 2.
21. Everything relevant has been updated to the GPL 3.
22. Array growth should be faster now, at no cost in space.
23. Lots more tests.
24. One new translation.
25. Various bugs fixed, see the ChangeLog for details.
diffstat:
lang/gawk/Makefile | 8 +++-----
lang/gawk/PLIST | 3 ++-
lang/gawk/distinfo | 13 ++++++-------
lang/gawk/patches/patch-ab | 8 ++++----
lang/gawk/patches/patch-ac | 22 ----------------------
lang/gawk/patches/patch-ad | 6 +++---
6 files changed, 18 insertions(+), 42 deletions(-)
diffs (122 lines):
diff -r 80d96f8b7cc4 -r 519288c4cdfa lang/gawk/Makefile
--- a/lang/gawk/Makefile Fri Nov 02 03:32:44 2007 +0000
+++ b/lang/gawk/Makefile Fri Nov 02 07:17:59 2007 +0000
@@ -1,8 +1,6 @@
-# $NetBSD: Makefile,v 1.37 2007/09/06 19:56:16 joerg Exp $
-#
+# $NetBSD: Makefile,v 1.38 2007/11/02 07:17:59 adam Exp $
-DISTNAME= gawk-3.1.5
-PKGREVISION= 1
+DISTNAME= gawk-3.1.6
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gawk/}
EXTRACT_SUFX= .tar.bz2
@@ -20,7 +18,7 @@
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt
TEST_TARGET= check
-INFO_FILES= # PLIST
+INFO_FILES= yes
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
diff -r 80d96f8b7cc4 -r 519288c4cdfa lang/gawk/PLIST
--- a/lang/gawk/PLIST Fri Nov 02 03:32:44 2007 +0000
+++ b/lang/gawk/PLIST Fri Nov 02 07:17:59 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2006/04/17 07:07:23 jlam Exp $
+@comment $NetBSD: PLIST,v 1.12 2007/11/02 07:17:59 adam Exp $
bin/gawk
bin/${PKGNAME}
bin/igawk
@@ -47,5 +47,6 @@
share/locale/sv/LC_MESSAGES/gawk.mo
share/locale/tr/LC_MESSAGES/gawk.mo
share/locale/vi/LC_MESSAGES/gawk.mo
+share/locale/zh_CN/LC_MESSAGES/gawk.mo
@dirrm share/awk
@dirrm libexec/awk
diff -r 80d96f8b7cc4 -r 519288c4cdfa lang/gawk/distinfo
--- a/lang/gawk/distinfo Fri Nov 02 03:32:44 2007 +0000
+++ b/lang/gawk/distinfo Fri Nov 02 07:17:59 2007 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.17 2005/09/06 14:29:17 tonio Exp $
+$NetBSD: distinfo,v 1.18 2007/11/02 07:18:00 adam Exp $
-SHA1 (gawk-3.1.5.tar.bz2) = 0d5694461f1c32f1eae41a1c0d7ba0939b47e369
-RMD160 (gawk-3.1.5.tar.bz2) = 8eae0f173fcb344f97d811fa5bb5fd390a76b886
-Size (gawk-3.1.5.tar.bz2) = 1756783 bytes
-SHA1 (patch-ab) = 39a98bd71349e2eb7ac7c6bb67cb2b8617fda6bd
-SHA1 (patch-ac) = 0880bfab2202fd9cdca64f2082af1d7741e5a9a1
-SHA1 (patch-ad) = 9f0eda730720deefaba2f0a62362997dc95e003f
+SHA1 (gawk-3.1.6.tar.bz2) = fb45bded207af6a8e46cd63fcbb6fb064ecee607
+RMD160 (gawk-3.1.6.tar.bz2) = e2639935d87d5c9fdb115a58ab1f598b69a76216
+Size (gawk-3.1.6.tar.bz2) = 1861630 bytes
+SHA1 (patch-ab) = b754cc6df0bd00d5b4e6bbd6bd2706703872489f
+SHA1 (patch-ad) = 68910553cf495b7b177c96479ceb2c549fe5350f
diff -r 80d96f8b7cc4 -r 519288c4cdfa lang/gawk/patches/patch-ab
--- a/lang/gawk/patches/patch-ab Fri Nov 02 03:32:44 2007 +0000
+++ b/lang/gawk/patches/patch-ab Fri Nov 02 07:17:59 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.10 2005/09/05 16:58:22 wiz Exp $
+$NetBSD: patch-ab,v 1.11 2007/11/02 07:18:00 adam Exp $
---- Makefile.in.orig 2005-07-26 20:44:03.000000000 +0200
+--- Makefile.in.orig 2007-10-22 08:52:01.000000000 +0200
+++ Makefile.in
-@@ -156,7 +156,7 @@ CFLAGS = @CFLAGS@
+@@ -148,7 +148,7 @@ CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
@@ -11,7 +11,7 @@
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
-@@ -936,9 +936,7 @@ install-exec-hook:
+@@ -890,9 +890,7 @@ install-exec-hook:
(cd $(DESTDIR)$(bindir); \
$(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
$(LN) pgawk$(EXEEXT) pgawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
diff -r 80d96f8b7cc4 -r 519288c4cdfa lang/gawk/patches/patch-ac
--- a/lang/gawk/patches/patch-ac Fri Nov 02 03:32:44 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-ac,v 1.8 2005/09/06 14:29:17 tonio Exp $
-
---- hard-locale.h.orig 2005-05-11 17:28:16.000000000 +0200
-+++ hard-locale.h
-@@ -22,6 +22,8 @@
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
-
-
-+static ptr_t xmalloc PARAMS ((size_t n));
-+
- /* Return nonzero if the current CATEGORY locale is hard, i.e. if you
- can't get away with assuming traditional C or POSIX behavior. */
- static int
-@@ -40,8 +42,6 @@ hard_locale (int category)
- if (strcmp (p, "C") == 0 || strcmp (p, "POSIX") == 0)
- hard = 0;
- # else
-- static ptr_t xmalloc PARAMS ((size_t n));
--
- char *locale = xmalloc (strlen (p) + 1);
- strcpy (locale, p);
-
diff -r 80d96f8b7cc4 -r 519288c4cdfa lang/gawk/patches/patch-ad
--- a/lang/gawk/patches/patch-ad Fri Nov 02 03:32:44 2007 +0000
+++ b/lang/gawk/patches/patch-ad Fri Nov 02 07:17:59 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.3 2005/09/06 14:29:17 tonio Exp $
+$NetBSD: patch-ad,v 1.4 2007/11/02 07:18:00 adam Exp $
---- dfa.c.orig 2005-07-26 20:07:43.000000000 +0200
+--- dfa.c.orig 2007-09-03 05:30:12.000000000 +0200
+++ dfa.c
-@@ -122,7 +122,6 @@ extern void free();
+@@ -124,7 +124,6 @@ extern void free();
static void dfamust PARAMS ((struct dfa *dfa));
static ptr_t xcalloc PARAMS ((size_t n, size_t s));
Home |
Main Index |
Thread Index |
Old Index