pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/gawk Update to 4.1.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/d5acc3bb6510
branches: trunk
changeset: 635459:d5acc3bb6510
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Fri Jun 06 23:24:10 2014 +0000
description:
Update to 4.1.1
Changelog:
Changes from 4.1.0 to 4.1.1
---------------------------
1. The "stat" extension now includes a "devbsize" element which indicates
the units for the "nblocks" element.
2. The extension facility now works on MinGW. Many of the extensions can be
built and used directly.
3. A number of bugs in the pretty-printing / profiling code have been fixed.
4. Sockets and two-way pipes now work under MinGW.
5. The debugger now lists source code correctly under Cygwin.
6. Configuration and building with the Mac OS X libreadline should work now.
7. The -O option now works again.
8. The --include option, documented since 4.0, now actually works.
9. Infrastructure updated to automake 1.13.4, bison 3.0.2, and
libtool 2.4.2.418.
10. The configure script now accepts a --disable-extensions option,
which disables checking for and building the extensions.
11. The VMS port has been considerably improved. In particular config.h
is now generated by a DCL script. Also, the extension facility works
and several of the extensions can be built and used. Currently, the
extension facility only works on Alpha and Itanium.
12. The API now provides functions pointers for malloc(), calloc(),
realloc() and free(), to insure that the same memory allocation
functions are always used. This bumps the minor version by one.
13. The printf quote flag now works correctly in locales with a different
decimal point character but without a thousands separator character.
If the thousands separator is a string, it will be correctly added
to decimal numbers.
14. The readfile extension now has an input parser that will read whole
files as a single record.
15. A number of bugs have been fixed. See the ChangeLog.
diffstat:
lang/gawk/Makefile | 5 +--
lang/gawk/PLIST | 5 +++-
lang/gawk/distinfo | 16 +++++------
lang/gawk/patches/patch-extension_Makefile.in | 36 ++++++++++++++++++++++++--
lang/gawk/patches/patch-extension_configure | 12 ---------
lang/gawk/patches/patch-extension_filefuncs.c | 10 +++---
lang/gawk/patches/patch-getopt.c | 15 -----------
lang/gawk/patches/patch-test_Makefile.in | 18 ++++++------
8 files changed, 60 insertions(+), 57 deletions(-)
diffs (207 lines):
diff -r bf4d842f3af6 -r d5acc3bb6510 lang/gawk/Makefile
--- a/lang/gawk/Makefile Fri Jun 06 17:48:16 2014 +0000
+++ b/lang/gawk/Makefile Fri Jun 06 23:24:10 2014 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.59 2014/02/05 20:25:09 wiz Exp $
+# $NetBSD: Makefile,v 1.60 2014/06/06 23:24:10 ryoon Exp $
-DISTNAME= gawk-4.1.0
-PKGREVISION= 2
+DISTNAME= gawk-4.1.1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gawk/}
EXTRACT_SUFX= .tar.xz
diff -r bf4d842f3af6 -r d5acc3bb6510 lang/gawk/PLIST
--- a/lang/gawk/PLIST Fri Jun 06 17:48:16 2014 +0000
+++ b/lang/gawk/PLIST Fri Jun 06 23:24:10 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2014/02/05 20:25:09 wiz Exp $
+@comment $NetBSD: PLIST,v 1.22 2014/06/06 23:24:10 ryoon Exp $
bin/gawk
bin/${PKGNAME}
bin/igawk
@@ -26,6 +26,7 @@
${PLIST.extension}man/man3am/filefuncs.3am
${PLIST.extension}man/man3am/fnmatch.3am
${PLIST.extension}man/man3am/fork.3am
+${PLIST.extension}man/man3am/inplace.3am
${PLIST.extension}man/man3am/ordchr.3am
${PLIST.extension}man/man3am/readdir.3am
${PLIST.extension}man/man3am/readfile.3am
@@ -49,11 +50,13 @@
share/awk/passwd.awk
share/awk/quicksort.awk
share/awk/readable.awk
+share/awk/readfile.awk
share/awk/rewind.awk
share/awk/round.awk
share/awk/strtonum.awk
share/awk/walkarray.awk
share/awk/zerofile.awk
+share/locale/ca/LC_MESSAGES/gawk.mo
share/locale/da/LC_MESSAGES/gawk.mo
share/locale/de/LC_MESSAGES/gawk.mo
share/locale/es/LC_MESSAGES/gawk.mo
diff -r bf4d842f3af6 -r d5acc3bb6510 lang/gawk/distinfo
--- a/lang/gawk/distinfo Fri Jun 06 17:48:16 2014 +0000
+++ b/lang/gawk/distinfo Fri Jun 06 23:24:10 2014 +0000
@@ -1,12 +1,10 @@
-$NetBSD: distinfo,v 1.29 2014/02/05 21:12:46 wiz Exp $
+$NetBSD: distinfo,v 1.30 2014/06/06 23:24:10 ryoon Exp $
-SHA1 (gawk-4.1.0.tar.xz) = caabca3c1a59d05807c826c45a4639b82cad612a
-RMD160 (gawk-4.1.0.tar.xz) = 71267e56aabed02ecc77f26661171a7b626dc71d
-Size (gawk-4.1.0.tar.xz) = 2049080 bytes
+SHA1 (gawk-4.1.1.tar.xz) = 547feb48d20e923aff58daccee97c94e047fdc18
+RMD160 (gawk-4.1.1.tar.xz) = a5a6ab9491bf702310cef7c035531cc7fad0a62d
+Size (gawk-4.1.1.tar.xz) = 2196904 bytes
SHA1 (patch-Makefile.in) = 12eb8f205fa224634b9f5122cfca55803382516f
SHA1 (patch-awk.h) = 2292be5ec392e7fea5688fbb18012a735e43803f
-SHA1 (patch-extension_Makefile.in) = e6ffaf27a1758df026d7315b6714265ec5a7268d
-SHA1 (patch-extension_configure) = f53c897d1931a139a0bdaad69234a7530db6c838
-SHA1 (patch-extension_filefuncs.c) = 959868fabf63beb52014e039de84493dca125a0a
-SHA1 (patch-getopt.c) = ec519d4276fab67b350cb934b2a9959e1dbf8a2f
-SHA1 (patch-test_Makefile.in) = 19ce59a4e72fde4901c83af9b9472b9260fda228
+SHA1 (patch-extension_Makefile.in) = bc735eebe2e094c97e46b08a782b143d2042a865
+SHA1 (patch-extension_filefuncs.c) = 212774354ab55f69ff67728470ab23b43e038093
+SHA1 (patch-test_Makefile.in) = 7610407e0735f4b78b568e24717f3f103f8566d3
diff -r bf4d842f3af6 -r d5acc3bb6510 lang/gawk/patches/patch-extension_Makefile.in
--- a/lang/gawk/patches/patch-extension_Makefile.in Fri Jun 06 17:48:16 2014 +0000
+++ b/lang/gawk/patches/patch-extension_Makefile.in Fri Jun 06 23:24:10 2014 +0000
@@ -1,10 +1,11 @@
-$NetBSD: patch-extension_Makefile.in,v 1.1 2014/02/05 20:25:09 wiz Exp $
+$NetBSD: patch-extension_Makefile.in,v 1.2 2014/06/06 23:24:10 ryoon Exp $
Install into a separate directory, otherwise these shadow e.g. time(3).
+Install *.la file for extensions, reduce PLIST divergence.
---- extension/Makefile.in.orig 2013-05-09 13:00:15.000000000 +0000
+--- extension/Makefile.in.orig 2014-04-08 16:13:03.000000000 +0000
+++ extension/Makefile.in
-@@ -272,7 +272,7 @@ am__can_run_installinfo = \
+@@ -300,7 +300,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
@@ -13,3 +14,32 @@
NROFF = nroff
MANS = $(dist_man_MANS)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+@@ -1154,7 +1154,6 @@ info-am:
+
+ install-data-am: install-man install-pkgextensionLTLIBRARIES
+ @$(NORMAL_INSTALL)
+- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+ install-dvi: install-dvi-recursive
+
+ install-dvi-am:
+@@ -1217,7 +1216,7 @@ uninstall-man: uninstall-man3
+ distclean-hdr distclean-libtool distclean-tags distcleancheck \
+ distdir distuninstallcheck dvi dvi-am html html-am info \
+ info-am install install-am install-data install-data-am \
+- install-data-hook install-dvi install-dvi-am install-exec \
++ install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-man3 install-pdf \
+ install-pdf-am install-pkgextensionLTLIBRARIES install-ps \
+@@ -1229,11 +1228,6 @@ uninstall-man: uninstall-man3
+ uninstall-man3 uninstall-pkgextensionLTLIBRARIES
+
+
+-install-data-hook:
+- for i in $(pkgextension_LTLIBRARIES) ; do \
+- $(RM) $(pkgextensiondir)/$$i ; \
+- done
+-
+ # Keep the uninstall check working:
+ uninstall-so:
+ $(RM) $(pkgextensiondir)/*.so
diff -r bf4d842f3af6 -r d5acc3bb6510 lang/gawk/patches/patch-extension_configure
--- a/lang/gawk/patches/patch-extension_configure Fri Jun 06 17:48:16 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-extension_configure,v 1.1 2013/10/19 19:47:39 bsiegert Exp $
-
---- extension/configure.orig Fri Aug 30 14:41:50 2013
-+++ extension/configure
-@@ -16532,7 +16532,6 @@ case `uname` in
- MirBSD | MirOS | "OS/390")
- cat << \EOF > Makefile
- all dist check clean distclean install uninstall distcheck:
-- @exit 0
- EOF
- ;;
- *)
diff -r bf4d842f3af6 -r d5acc3bb6510 lang/gawk/patches/patch-extension_filefuncs.c
--- a/lang/gawk/patches/patch-extension_filefuncs.c Fri Jun 06 17:48:16 2014 +0000
+++ b/lang/gawk/patches/patch-extension_filefuncs.c Fri Jun 06 23:24:10 2014 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-extension_filefuncs.c,v 1.1 2013/12/26 19:19:32 tron Exp $
+$NetBSD: patch-extension_filefuncs.c,v 1.2 2014/06/06 23:24:10 ryoon Exp $
Fix build problem under Solaris. The more elegant fix is available here:
http://lists.gnu.org/archive/html/bug-gawk/2013-06/msg00010.html
---- extension/filefuncs.c.orig 2013-05-02 20:51:30.000000000 +0100
-+++ extension/filefuncs.c 2013-12-26 19:12:54.000000000 +0000
-@@ -75,6 +75,10 @@
- #define minor(s) (0)
+--- extension/filefuncs.c.orig 2014-03-31 19:17:46.000000000 +0000
++++ extension/filefuncs.c
+@@ -137,6 +137,10 @@ get_inode(const char *fname)
+ }
#endif
+#ifdef __sun
diff -r bf4d842f3af6 -r d5acc3bb6510 lang/gawk/patches/patch-getopt.c
--- a/lang/gawk/patches/patch-getopt.c Fri Jun 06 17:48:16 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-getopt.c,v 1.1 2013/12/15 09:42:14 richard Exp $
-
-SunOS needs stdlib.h for malloc/free used in p_getopt_internal_r
-
---- getopt.c.orig 2013-05-02 19:51:30.000000000 +0000
-+++ getopt.c
-@@ -57,7 +57,7 @@
-
- /* This needs to come after some library #include
- to get __GNU_LIBRARY__ defined. */
--#if defined (__GNU_LIBRARY__) || defined (__CYGWIN__) || defined(__DJGPP__)
-+#if defined (__GNU_LIBRARY__) || defined (__CYGWIN__) || defined(__DJGPP__) || defined(__sun)
- /* Don't include stdlib.h for
- * non-GNU C libraries
- * non-Cygwin
diff -r bf4d842f3af6 -r d5acc3bb6510 lang/gawk/patches/patch-test_Makefile.in
--- a/lang/gawk/patches/patch-test_Makefile.in Fri Jun 06 17:48:16 2014 +0000
+++ b/lang/gawk/patches/patch-test_Makefile.in Fri Jun 06 23:24:10 2014 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-test_Makefile.in,v 1.1 2013/12/15 09:42:14 richard Exp $
+$NetBSD: patch-test_Makefile.in,v 1.2 2014/06/06 23:24:10 ryoon Exp $
Non portable '-f' flag for ls should be -U for unsorted
pkgsrc replacement links mean -L should be used too.
@@ -6,14 +6,14 @@
NB on SunOS, locale/en should be installed in order to have
all tests successfully execute (namely mbfw1 and mbprintf1)
---- test/Makefile.in.orig 2013-12-15 08:43:50.258867212 +0000
+--- test/Makefile.in.orig 2014-04-08 16:13:13.000000000 +0000
+++ test/Makefile.in
-@@ -2156,7 +2156,7 @@ readdir:
+@@ -2249,7 +2249,7 @@ readdir:
fi
@echo $@
- @$(AWK) -f $(srcdir)/readdir.awk $(top_srcdir) > _$@
-- @ls -afli $(top_srcdir) | sed 1d | $(AWK) -f $(srcdir)/readdir0.awk -v extout=_$@ > $@.ok
-+ @ls -aliUL $(top_srcdir) | sed 1d | $(AWK) -f $(srcdir)/readdir0.awk -v extout=_$@ > $@.ok
- @-$(CMP) $@.ok _$@ && rm -f $@.ok _$@
-
- fts:
+ @$(AWK) -f "$(srcdir)"/readdir.awk "$(top_srcdir)" > _$@
+- @ls -afi "$(top_srcdir)" > _dirlist
++ @ls -aiUL "$(top_srcdir)" > _dirlist
+ @ls -lna "$(top_srcdir)" | sed 1d > _longlist
+ @$(AWK) -f "$(srcdir)"/readdir0.awk -v extout=_$@ \
+ -v dirlist=_dirlist -v longlist=_longlist > $@.ok
Home |
Main Index |
Thread Index |
Old Index