summaryrefslogtreecommitdiff
path: root/lang/gawk
diff options
context:
space:
mode:
authoradam <adam>2007-11-02 07:17:59 +0000
committeradam <adam>2007-11-02 07:17:59 +0000
commit325a0bdd5f99f8d83e8485d565cc291a94b49712 (patch)
tree2d8aea7c4f819fd2280eb2f0ad4a108e54c898db /lang/gawk
parentc0c6811e36dc0c3c4581602bd2fc22126d7bee6e (diff)
downloadpkgsrc-325a0bdd5f99f8d83e8485d565cc291a94b49712.tar.gz
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 (limited to 'lang/gawk')
-rw-r--r--lang/gawk/Makefile8
-rw-r--r--lang/gawk/PLIST3
-rw-r--r--lang/gawk/distinfo13
-rw-r--r--lang/gawk/patches/patch-ab8
-rw-r--r--lang/gawk/patches/patch-ac22
-rw-r--r--lang/gawk/patches/patch-ad6
6 files changed, 18 insertions, 42 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile
index 208a0a28b14..5a94341e4df 100644
--- a/lang/gawk/Makefile
+++ b/lang/gawk/Makefile
@@ -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 @@ GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt
TEST_TARGET= check
-INFO_FILES= # PLIST
+INFO_FILES= yes
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
diff --git a/lang/gawk/PLIST b/lang/gawk/PLIST
index 5c1ca80344c..2bb9c5715da 100644
--- a/lang/gawk/PLIST
+++ b/lang/gawk/PLIST
@@ -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/rw/LC_MESSAGES/gawk.mo
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 --git a/lang/gawk/distinfo b/lang/gawk/distinfo
index e5406f28f5a..c44c680cda9 100644
--- a/lang/gawk/distinfo
+++ b/lang/gawk/distinfo
@@ -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 --git a/lang/gawk/patches/patch-ab b/lang/gawk/patches/patch-ab
index d144afadc49..5013b9ea7d6 100644
--- a/lang/gawk/patches/patch-ab
+++ b/lang/gawk/patches/patch-ab
@@ -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 @@ $NetBSD: patch-ab,v 1.10 2005/09/05 16:58:22 wiz Exp $
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 --git a/lang/gawk/patches/patch-ac b/lang/gawk/patches/patch-ac
deleted file mode 100644
index 629f574136c..00000000000
--- a/lang/gawk/patches/patch-ac
+++ /dev/null
@@ -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 --git a/lang/gawk/patches/patch-ad b/lang/gawk/patches/patch-ad
index 22bd14d248e..adc75f3b482 100644
--- a/lang/gawk/patches/patch-ad
+++ b/lang/gawk/patches/patch-ad
@@ -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));