From 45f8d7161bd96fd5f20419c0c462e74f8be1a369 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 24 Mar 2000 17:56:49 +0000 Subject: Update mawk to 1.3.3. Changes from 1.2.2: 1.3.1 -> 1.3.2 Sep 1996 1) Numeric but not integer indices caused core dump in new array scheme. Fixed bug and fired test division. 2) Added ferror() checks on writes. 3) Added some static storage specs to array.c to keep non-ansi compilers happy. 1.3 -> 1.3.1 Sep 1996 Release to new ftp site ftp://ftp.whidbey.net. 1) Workaround for overflow exception in strtod, sunos5.5 solaris. 2) []...] and [^]...] put ] in a class (or not in a class) without having to use back-slash escape. 1.2.2 -> 1.3 Jul 1996 Extensive redesign of array data structures to support large arrays and fast access to arrays created with split. Many of the ideas in the new design were inspired by reading "The Design and Implementation of Dynamic Hashing Sets and Tables in Icon" by William Griswold and Gregg Townsend, SPE 23,351-367. --- lang/mawk/Makefile | 9 +++++---- lang/mawk/files/md5 | 4 ++-- lang/mawk/files/patch-sum | 4 ++-- lang/mawk/patches/patch-aa | 30 +++++++++++++++++++++--------- 4 files changed, 30 insertions(+), 17 deletions(-) (limited to 'lang/mawk') diff --git a/lang/mawk/Makefile b/lang/mawk/Makefile index 705fb50095d..44ecd11b4e5 100644 --- a/lang/mawk/Makefile +++ b/lang/mawk/Makefile @@ -1,11 +1,12 @@ -# $NetBSD: Makefile,v 1.5 1999/09/04 15:22:02 agc Exp $ +# $NetBSD: Makefile,v 1.6 2000/03/24 17:56:49 jlam Exp $ # -DISTNAME= mawk1.2.2 -PKGNAME= mawk-1.2.2 +DISTNAME= mawk1.3.3 +PKGNAME= mawk-1.3.3 WRKSRC= ${WRKDIR}/${PKGNAME} CATEGORIES= lang -MASTER_SITES= ftp://ftp.oxy.edu/public/ +MASTER_SITES= ftp://ftp.whidbey.net/pub/brennan/ \ + ftp://ftp.fu-berlin.de/pub/unix/languages/mawk MAINTAINER= agc@netbsd.org diff --git a/lang/mawk/files/md5 b/lang/mawk/files/md5 index ff1e42b9fe2..9ce9bb394c2 100644 --- a/lang/mawk/files/md5 +++ b/lang/mawk/files/md5 @@ -1,3 +1,3 @@ -$NetBSD: md5,v 1.2 1998/08/07 13:24:58 agc Exp $ +$NetBSD: md5,v 1.3 2000/03/24 17:56:51 jlam Exp $ -MD5 (mawk1.2.2.tar.gz) = 614a469cc1cc3f26ba7da04d9f55fd73 +MD5 (mawk1.3.3.tar.gz) = ad46743641924e1234b2bfba92641085 diff --git a/lang/mawk/files/patch-sum b/lang/mawk/files/patch-sum index afb6e8cfcfd..fcc0f9f1a27 100644 --- a/lang/mawk/files/patch-sum +++ b/lang/mawk/files/patch-sum @@ -1,3 +1,3 @@ -$NetBSD: patch-sum,v 1.1 1999/07/09 13:54:09 agc Exp $ +$NetBSD: patch-sum,v 1.2 2000/03/24 17:56:51 jlam Exp $ -MD5 (patch-aa) = f768743914ec1b57a33b2e093abe3ddd +MD5 (patch-aa) = 47bba5165139766dc797c5575ab09007 diff --git a/lang/mawk/patches/patch-aa b/lang/mawk/patches/patch-aa index abd865446ca..bbc52d9dc52 100644 --- a/lang/mawk/patches/patch-aa +++ b/lang/mawk/patches/patch-aa @@ -1,27 +1,39 @@ -$NetBSD: patch-aa,v 1.2 1998/08/07 11:09:19 agc Exp $ +$NetBSD: patch-aa,v 1.3 2000/03/24 17:56:51 jlam Exp $ ---- Makefile.in.orig Sun Dec 17 22:20:55 1995 -+++ Makefile.in Wed Oct 1 16:24:02 1997 +--- Makefile.in.orig Wed Jan 31 21:05:40 1996 ++++ Makefile.in Fri Mar 24 09:50:06 2000 @@ -11,10 +11,11 @@ YACC = @YACC@ -+prefix= ${PREFIX} ++prefix = ${PREFIX} # where to put mawk -BINDIR = @BINDIR@ -+BINDIR = ${prefix}/bin ++BINDIR = $(prefix)/bin # where to put the man pages -MANDIR = @MANDIR@ -+MANDIR = ${prefix}/man/man1 ++MANDIR = $(prefix)/man/man1 MANEXT = @MANEXT@ ####################################### -@@ -31,7 +32,7 @@ - REXP_C=rexp/rexp.c rexp/rexp0.c rexp/rexp1.c rexp/rexp2.c\ +@@ -32,6 +33,7 @@ rexp/rexp3.c -- + +all: mawk_and_test mawk_and_test : mawk mawk_test fpe_test mawk : $(O) rexp/.done +@@ -74,10 +76,8 @@ + + MAWKMAN = $(MANDIR)/mawk.$(MANEXT) + install : mawk +- cp mawk $(BINDIR) +- chmod 0755 $(BINDIR)/mawk +- cp man/mawk.1 $(MAWKMAN) +- chmod 0644 $(MAWKMAN) ++ ${BSD_INSTALL_PROGRAM} mawk $(BINDIR) ++ ${BSD_INSTALL_MAN} man/mawk.1 $(MAWKMAN) + + clean : + rm -f *.o rexp/*.o rexp/.done test/mawk core test/core mawk -- cgit v1.2.3