diff options
author | wiz <wiz@pkgsrc.org> | 2006-07-18 06:34:41 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-07-18 06:34:41 +0000 |
commit | b0d244d618949324e758865737a41cafd45a42ec (patch) | |
tree | 9f2486828a609b4af3a7dfd4076accc76b9d30e5 | |
parent | 91fcaef5be57e80a90d5a56ad47c3e5bb17f15e9 (diff) | |
download | pkgsrc-b0d244d618949324e758865737a41cafd45a42ec.tar.gz |
Update to 1.4.5:
Version 1.4.5 - 15 July 2006, by Eric Blake (CVS version 1.4.4c)
* Fix sysval on BeOS, OS/2, and other systems that store exit status
in the low-order byte. Additionally, on Unix platforms, if syscmd was
terminated by a signal, sysval now displays the signal number shifted
left by eight bits, to match traditional m4 implementations.
* The maketemp macro is no longer subject to platform limitations (such as
26 or 32 max files from a given template).
* Frozen files now require that the first directive be V (version), to
better diagnose version mismatch. Additionally, if the F directive
(builtin function) names an unknown builtin that existed in the m4 that
froze the file but not in the current m4 (for example, changeword), the
warning is deferred until an attempt is made to actually use the
builtin. This allows downgrading from beta m4-1.4o to stable m4-1.4.5
without breaking autoconf.
* The format and indir macros are now recognized only with arguments.
* The eval macro no longer crashes on x86 architectures when dividing the
minimum integer by -1.
* On systems with ecvt and fcvt, format no longer truncates trailing
zeroes on integers printed with %.0f. On systems without these
functions, format is no longer subject to a buffer overflow that
permitted arbitrary code execution.
* On native Windows builds, the macro __windows__ is provided instead of
__unix__. Likewise, on OS/2 builds, the macro __os2__ is provided. This
allows input files to determine when syscmd might behave differently.
* Fix bug in 1.4.3 patch to use \n line-endings that did not work for
cygwin.
* When given the empty string or 0, undivert is now documented as a no-op
rather than closing stdout, warning about a non-existent file, or trying
to read a directory as a file.
* Many documentation improvements. Also, the manual is now distributed
under FDL 1.2, rather than a stricter verbatim-only license.
* Raise the -L (--nesting-limit) command line option limit from 250 to
1024.
* The decr, incr, divert, m4exit, and substr macros treat an empty number
as 0, issue a warning, and expand as normal; rather than issuing an error
and expanding to the empty string.
* The eval macro now treats an empty radix argument as 10, handles radix 1,
and treats the width argument as number of digits excluding the sign,
for compatibility with other m4 implementations.
* The ifdef, divert, m4exit, substr, and translit macros now correctly
ignore extra arguments.
* The popdef and undefine macros now correctly accept multiple arguments.
* Although changeword is on its last leg, if enabled, it now reverts to the
default (faster) regexp when passed the empty string.
* The regexp and substr macros now warn and ignore a trailing backslash in
the replacement, and warn on \n for n larger than the number of
sub-expressions in the regexp.
Version 1.4.4b - 17 June 2006, by Eric Blake (CVS version 1.4.4a)
* Fix a recursive push_string crashing bug, which affected changequote of
three or more characters on some compilers.
* Use automake to fix build portability issues.
* Fix a recursive m4wrap crashing bug.
* Fix a 1 in 2**32 hash crashing bug.
* Tracing a macro by name is now persistent, even if the macro is
subsequently undefined or redefined. The traceon and traceoff macros no
longer warn about undefined symbols. This solves a crash when using
indir on an undefined macro traced with the -t option, as well as an
incorrect result of ifdef. Furthermore, tracing is no longer transferred
with builtins, solving the bug of "m4 -tm4_eval" failing to give trace
output on the input "define(`m4_eval',defn(`eval'))m4_eval(1)".
* Fix a crash when a macro is undefined while collecting its arguments, by
always using the definition that was in effect before argument
collection. This behavior matches the C pre-processor, and means that
the sequence "define(`f',`1')f(define(`f',`2'))f" is now documented to
result in "12", rather than the previously undocumented "22".
* Update the regex engine to fix several bugs.
* Fix a potential crash on machines where char is signed.
-rw-r--r-- | devel/m4/Makefile | 4 | ||||
-rw-r--r-- | devel/m4/PLIST | 5 | ||||
-rw-r--r-- | devel/m4/distinfo | 8 |
3 files changed, 10 insertions, 7 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile index b361fd9c5ec..9387a9f779b 100644 --- a/devel/m4/Makefile +++ b/devel/m4/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.39 2006/03/30 03:44:43 jlam Exp $ +# $NetBSD: Makefile,v 1.40 2006/07/18 06:34:41 wiz Exp $ -DISTNAME= m4-1.4.4 +DISTNAME= m4-1.4.5 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU:=m4/} diff --git a/devel/m4/PLIST b/devel/m4/PLIST index e5e3aea4fb2..beb55abcb4e 100644 --- a/devel/m4/PLIST +++ b/devel/m4/PLIST @@ -1,7 +1,8 @@ -@comment $NetBSD: PLIST,v 1.6 2006/03/30 03:44:43 jlam Exp $ +@comment $NetBSD: PLIST,v 1.7 2006/07/18 06:34:41 wiz Exp $ bin/${GNU_PROGRAM_PREFIX}m4 ${GM4_LINK}bin/gm4 info/m4.info +man/man1/gm4.1 share/examples/m4/capitalize.m4 share/examples/m4/comments.m4 share/examples/m4/ddivert.m4 @@ -14,6 +15,7 @@ share/examples/m4/forloop.m4 share/examples/m4/fstab.m4 share/examples/m4/hanoi.m4 share/examples/m4/incl-test.m4 +share/examples/m4/incl.m4 share/examples/m4/include.m4 share/examples/m4/indir.m4 share/examples/m4/misc.m4 @@ -28,4 +30,5 @@ share/examples/m4/trace.m4 share/examples/m4/translit.m4 share/examples/m4/undivert.m4 share/examples/m4/wrap.m4 +share/examples/m4/wrapfifo.m4 @dirrm share/examples/m4 diff --git a/devel/m4/distinfo b/devel/m4/distinfo index 2516e4ace7f..38dab279c36 100644 --- a/devel/m4/distinfo +++ b/devel/m4/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.10 2005/10/25 13:14:32 wiz Exp $ +$NetBSD: distinfo,v 1.11 2006/07/18 06:34:41 wiz Exp $ -SHA1 (m4-1.4.4.tar.gz) = 4861140cb54b6c9e135d04b5fbf460ff57f969a5 -RMD160 (m4-1.4.4.tar.gz) = 42f55244506e0c82ee52c9259e86cddcde31c8df -Size (m4-1.4.4.tar.gz) = 384582 bytes +SHA1 (m4-1.4.5.tar.gz) = 3af7394e8e464dd851319417d16096d1832a7bfa +RMD160 (m4-1.4.5.tar.gz) = e83f43830ee39770ea0f50a729f53c7dd01b7c9a +Size (m4-1.4.5.tar.gz) = 596242 bytes |