Commit graph

111 commits

Author SHA1 Message Date
jmcneill
98f2fbc9c8 Fix IRIX build by providing a getprogname implementation. 2018-03-13 20:26:42 +00:00
adam
33ec2119b7 Release 1.4.18:
* Diagnose --word-regexp as unsupported if it was not configured.
* Preliminary support for OS/2.
* A number of portability improvements inherited from gnulib.
2017-08-25 05:28:53 +00:00
jperkin
a7efdccd6c Use OPSYSVARS. 2016-02-25 12:12:47 +00:00
agc
d9e4cfe05d Add SHA512 digests for distfiles for devel category
Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 03:27:11 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
richard
72f8044f70 revert m4 2014-09-10 10:47:13 +00:00
richard
cfd0295a64 adding devel/py-hgnested
hgnested is a Mercurial extension to work with nested repositories.

It was inspired by the forest extension.

The extension allows to apply common Mercurial commands to all the nested
repositories at once like pull, push etc. It also allows to fetch a complete
tree of repositories through ssh or http.

To enable the "hgnested" extension, create an entry for it in your hgrc, like
this:

    [extensions]
    hgnested =

See `hg help hgnested` for the complete list of commands.

For more information please visit the following website:

	http://code.google.com/p/hgnested/
2014-09-10 10:14:07 +00:00
ryoon
e6c4214668 Fix build on DragonFly 3.4.3 2013-11-01 09:49:20 +00:00
jklos
b3f7ecfa92 Skip NaN on VAX. 2013-10-29 17:34:04 +00:00
wiz
3935153ea2 Update to 1.4.17:
* Noteworthy changes in release 1.4.17 (2013-09-22) [stable]

** Fix compilation with newer glibc headers.

** Fix a failure with diverting large amounts of text on mingw (does
   not affect platforms that can rename an open file).

** A number of portability improvements inherited from gnulib.
2013-10-04 21:02:11 +00:00
joerg
49569020d1 Force the __fpending to be known on Cygwin. stdlib_ext.h defines it as
macro or inline function, so the link test fails.
2013-09-20 11:41:16 +00:00
ryoon
03d766b9ef Fix comment on patches/patch-lib_stdio.in.h.
Previous comment is irrelevant. Pointed out by wiz@. Thank you.
2013-07-19 14:49:28 +00:00
ryoon
44608567a7 Fix build on Ubuntu Linux/amd64 13.04.
* patch is borrowed from Gentoo Linux.
2013-07-19 12:13:36 +00:00
jperkin
cefff77d66 Add PKGGNUDIR support. 2012-12-06 11:38:19 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
cheusov
cf5e97d665 Add symlink gnu/man/man1/m4
++pkgrevision
2012-06-02 07:51:04 +00:00
cheusov
5d57f31221 Remove GNU_PROGRAM_PREFIX variable (discussed in pkgsrc-users@).
All utilities are installed with a prefix 'g'. Symlinks with original
names are created in ${PREFIX}/gnu/bin.

++pkgrevision
2012-05-29 21:44:45 +00:00
wiz
8ad47bf34e Add upstream patch fixing build on Solaris 9 with Sun Studio 11.
Suggested by Stephen Nelson-Smith <sanelson@gmail.com> on pkgsrc-users.
2012-04-27 21:01:41 +00:00
christos
741f9a11e9 update. 2012-01-31 01:12:46 +00:00
christos
4eff441a76 bump patchlevel 2012-01-31 01:00:13 +00:00
christos
94c08effe2 update for new fpos_t 2012-01-31 00:58:43 +00:00
wiz
53f0fe8956 Update to 1.4.16:
* Noteworthy changes in release 1.4.16 (2011-03-01) [stable]

** Fix regressions in the `index' builtin.  On glibc platforms, this
   avoids false positives from a strstr bug in glibc 2.9 through 2.12;
   on many other platforms, it fixes two separate regressions, a false
   positive introduced in 1.4.11 and a false negative in 1.4.15.

** A number of portability improvements inherited from gnulib.
2011-03-16 14:31:46 +00:00
wiz
82910c29a5 Update to 1.4.15:
* Noteworthy changes in release 1.4.15 (2010-08-31) [stable]

** Fix regression introduced in 1.4.9b where the `format' builtin could
   crash on an invalid format string.

** Fix compilation against newer glibc, and on AIX 7.1BETA.

** A number of portability improvements inherited from gnulib.
2010-09-03 07:39:45 +00:00
tron
fdde64b13a Fix build under Mac OS X which got broken by yesterday's
DragonFlyBSD's fixes.
2010-07-21 11:57:52 +00:00
tnn
2c42f2b804 Dragonfly PR pkg/43098: Goetz Isenmann: devel/m4 broken
(bustage due to gnulib compat mess)
2010-07-20 13:40:02 +00:00
jklos
bcbc8e5217 Skip broken NaN and infinity handling on VAX. May not strictly be
"correct", but VAX doesn't support NaN and infinity in its floating point,
so this is just to make m4 build on VAX.
2010-03-25 04:39:01 +00:00
wiz
92413940ce Remove DragonFly workaround that's no longer necessary.
From Johannes Hofmann in PR 42926.
2010-03-18 10:05:48 +00:00
wiz
711d8f2f94 Update to 1.4.14:
* Noteworthy changes in Version 1.4.14 (2010-02-24) [stable]
  Released by Eric Blake, based on git version 1.4.13.*

** Fix regression introduced in 1.4.12 where executing with stdout closed
   could crash m4 on exit on some platforms.

** Fix regressions introduced in 1.4.13 in the `esyscmd' builtin, where
   closed file descriptors could interfere with child execution, and where
   a child status of 127 made m4 print a spurious message to stderr.

** Fix a security hole in 'make dist', present since at least M4 1.4, that
   could affect anybody attempting to redistribute modified sources (see
   Automake CVE-2009-4029).

** A number of portability improvements inherited from gnulib.
2010-02-26 15:31:42 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
sno
7b7d4bcbfe add switch to avoid wrappers used for gnu compatibility on AIX 2009-05-21 16:18:25 +00:00
wiz
60f460ab01 Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 08:59:00 +00:00
wiz
11d7cb8540 Update to 1.4.13. Set LICENSE (gnu-gpl-v3).
* Noteworthy changes in Version 1.4.13 (2009-04-01) [stable]
  Released by Eric Blake, based on git version 1.4.12.*

** The manual is now distributed under the terms of FDL 1.3.

** The `divert' and `undivert' builtins have been made more efficient
   when using temporary files for large diversions.

** The `translit' builtin has been made more efficient when the second
   argument is short.

** The input engine has been optimized for faster processing.

** The command line option `--debugfile', introduced in 1.4.7, now
   treats its argument as optional, in order to allow setting the debug
   output back to stderr when used without an argument; and order is now
   significant with respect to command line files.  You must therefore use
   `m4 --debugfile=trace file', not `m4 file --debugfile trace'.  This
   change does not affect the deprecated `-o'/`--error-output' option.

** The `syscmd' and `esyscmd' builtins can be configured to use an
   alternate shell, via the new `configure' option `--with-syscmd-shell'.

** A number of portability improvements inherited from gnulib.
2009-04-20 09:57:37 +00:00
wiz
4f2f0ff6c7 Add build fix for Interix-3.5, from Bruno Haible. 2008-10-24 12:37:37 +00:00
wiz
96ba9ad283 Update to 1.4.12:
* Noteworthy changes in Version 1.4.12 (2008-10-10) [stable]
  Released by Eric Blake, based on git version 1.4.11.*

** Fix regression introduced in 1.4.4b where using `traceon' could delete
   a macro.  This was most noticeable with `traceon(`traceon')', but
   would also happen in cases such as `foo(traceon(`foo'))'.

** Fix regression introduced in 1.4.7 where `m4 -N9' died with an assertion
   failure.

** Fix regression introduced in 1.4.11 where `defn' died with an assertion
   failure on a traced but undefined macro.

** New `-g'/`--gnu' command-line option overrides `-G'/`--traditional'.
   For now, the environment variable POSIXLY_CORRECT has no effect on M4
   behavior; but a future release of M4 will behave as though --traditional
   is implied if POSIXLY_CORRECT is set (this future change is necessary,
   because in the current release, there is no way to disable GNU
   extensions that conflict with POSIX without the use of a non-POSIX
   command-line argument).  Clients of M4 that want to use GNU extensions,
   even when POSIXLY_CORRECT is set, should start using the -g command-line
   argument, even though it is currently a no-op if -G did not appear
   earlier in the command line, so that the client will not break in the
   face of an upgraded m4 and a POSIXLY_CORRECT execution environment.

** The `-L'/`--nesting-limit' command-line option now defaults to 0 for
   unlimited on platforms that can detect and deal with stack overflow.  On
   systems that lack alternate stack support, such as Cygwin, and on
   systems that do not obey the POSIX semantics for distinguishing stack
   overflow from other exceptions, such as Linux, you can optionally
   install the libsigsegv library (version 2.6 or newer recommended) to
   enhance m4's ability to accurately report stack overflow:
   http://www.gnu.org/software/libsigsegv/

** A number of portability improvements inherited from gnulib.
2008-10-14 12:29:10 +00:00
wiz
5bcc9a1a45 Add patches fixing build on Solaris. From Eric Blake via Daniel Vergien. 2008-08-23 16:07:50 +00:00
wiz
834aebecd6 Fix build on DragonFly using Matt Dillon's patch.
http://apollo.backplane.com/DFlyMisc/pkgsrc-devel-m4.patch
2008-04-29 13:54:55 +00:00
reed
1f8c5c36ba Fix homepage. 2008-04-27 00:01:56 +00:00
wiz
9b96ace206 Add patch from Bruno Haible (upstream) fixing two of the included
gnulib tests that were broken on NetBSD-4.99.58/amd64.

Bump PKGREVISION.
2008-04-13 00:51:59 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
wiz
632d28bdc4 Update to 1.4.11:
* Noteworthy changes in Version 1.4.11 (2008-04-02) [stable]
  Released by Eric Blake, based on git version 1.4.10a

** Security fixes for the -F option, for bugs present since -F was
   introduced in 1.3: Avoid core dump with 'm4 -F file -t undefined', and
   avoid arbitrary code execution with certain file names.

** Fix regression introduced in 1.4.9b in the `divert' builtin when more
   than 512 kibibytes are saved in diversions on platforms like NetBSD
   or darwin where fopen(name,"a+") seeks to the end of the file.

** The output of the `maketemp' and `mkstemp' builtins is now quoted if a
   file was created.  This is a minor security fix, because it was possible
   (although rather unlikely) that an unquoted string could match an
   existing macro name, such that use of the `mkstemp' output would trigger
   inadvertent macro expansion and operate on the wrong file name.

** Enhance the `defn' builtin to support concatenation of multiple text
   arguments, as required by POSIX.  However, at this time, it is not
   possible to concatenate a builtin macro with anything else; a warning is
   now issued if this is attempted, although a future version of M4 may
   lift this restriction to match other implementations.

** Enhance the `format' builtin to parse all C99 floating point numbers,
   even on platforms where strtod(3) is buggy, although the replacement
   function does have the known issue of rounding errors when parsing
   some decimal floating point values.  This fixes testsuite failures
   introduced in 1.4.9b.

** Enhance the `index' builtin to guarantee linear behavior, in spite of
   the surprisingly large number of systems with a brain-dead quadratic
   strstr(3).

** A number of portability improvements inherited from gnulib.
2008-04-11 06:08:43 +00:00
dmcmahill
9aaca20515 add hacks.mk to work around a compiler optimization error with
gcc on solaris.
2007-09-25 01:23:23 +00:00
joerg
826763b775 Override gnulib's fflush.c on DragonFly with a far less intrusive
versions. This is still in discussion with upstream, but working m4
is critical, so apply this stop-gap solution. It works on the other
BSD derived stdio implementations as well, if you want to switch.
2007-07-29 14:36:46 +00:00
wiz
cbb36f9898 Update to 1.4.10nb1. Like previous update to 1.4.10, but includes
a patch from Eric Blake that fixes the problem that appeared e.g.
in dosbox or mng.
2007-07-22 06:34:41 +00:00
wiz
80043429f4 Revert update to 1.4.10 because it seems to break autoconf.
(breaking mng, firefox, thunderbird, dosbox and probably others)
2007-07-20 22:52:44 +00:00
wiz
34838c2984 Update to 1.4.10. Add commented out LICENSE=GPLv3 line.
Version 1.4.10 - 09 Jul 2007, by Eric Blake  (CVS version 1.4.9c)

* Upgrade from GPL version 2 to GPL version 3 or later.
* A number of portability improvements inherited from gnulib.
* Avoid undefined behavior introduced in 1.4.9b in the `format' builtin
  when handling %c.  However, this area of code has never been documented,
  and currently does not match the POSIX behavior of printf(1), so it may
  have further changes in the next version.

Version 1.4.9b - 29 May 2007, by Eric Blake  (CVS version 1.4.9a)

* Fix regression introduced in 1.4.9 in the `eval' builtin when performing
  division.
* Fix regression introduced in 1.4.8 in the `-F' option that made it
  impossible to freeze more than 512 kibibytes of diverted text.
* The synclines option `-s' no longer generates sync lines in the middle of
  multiline comments or quoted strings.
* Work around a number of corner-case POSIX compliance bugs in various
  broken stdio libraries.  In particular, the `syscmd' builtin behaves
  more predictably when stdin is seekable.
* The `format' builtin now understands formats such as %a, %A, and %'hhd,
  and works around a number of platform printf bugs.  Furthermore, the
  sequence format(%*.*d,-1,-1,1) no longer outputs random data.  However,
  some non-compliant platforms such as mingw still have known bugs in
  strtod that may cause testsuite failures.
* The testsuite is improved to also run gnulib portability tests for the
  features that M4 imports from gnulib.
2007-07-19 22:13:43 +00:00
dmcmahill
d3f1b2b291 Fix a division bug when negative numbers are involved. Bump pkgrev. 2007-05-24 21:51:47 +00:00
wiz
ad29d9c8f7 Update to 1.4.9:
Version 1.4.9 - 23 Mar 2007, by Eric Blake  (CVS version 1.4.8c)

* Minor documentation and portability cleanups.

Version 1.4.8b - 24 Feb 2007, by Eric Blake  (CVS version 1.4.8a)

* Fix a regression introduced in 1.4.8 that made m4 unable to process
  files larger than 2GiB on some platforms.
* Fix a regression introduced in 1.4.8 that made m4 dump core when
  invoked as 'm4 -- file'.
* The `eval' builtin now follows C precedence rules.  Additionally, the
  short-circuit operators correctly short-circuit division by zero.  The
  previously undocumented alias of '=' meaning '==' in eval now triggers a
  deprecation warning, so that a future version of M4 can implement a form
  of variable assignment as an extension.
* The `include' builtin now affects exit status on failure, as required by
  POSIX.  Use `sinclude' if you need a successful exit status.
* The `-E'/`--fatal-warnings' command-line option now has two levels.  When
  specified only once, warnings affect exit status, but execution
  continues, so that you can see all warnings instead of fixing them one
  at a time.  To acheive 1.4.8 behavior, where the first warning
  immediately exits, specify -E twice on the command line.
* A new `--warn-macro-sequence' command-line option allows detection of
  sequences in `define' and `pushdef' definitions that match an optional
  regular expression.  The default regular expression is
  `\$\({[^}]*}\|[0-9][0-9]+\)', corresponding to the sequences that might
  not behave correctly when upgrading to the eventual M4 2.0.  By default,
  M4 2.0 will follow the POSIX requirement that a macro definition
  containing `$11' must expand to the first argument concatenated with 1,
  rather than the eleventh argument; and will take advantage of the POSIX
  wording that allows implementations to treat `${11}' as the eleventh
  argument instead of literal text.  Be aware that Autoconf 2.61 will not
  work with this option enabled with the default regular expression; but
  Autoconf 2.62 will be compatible with this option.
* Improved portability to platforms such as BSD/OS and AIX.
2007-04-08 18:04:22 +00:00
wiz
e062be1bc1 Update to 1.4.8:
Version 1.4.8 - 20 November 2006, by Eric Blake  (CVS version 1.4.7a)

* The `divert' macro and `-H'/`--hashsize' command line option no longer
  cause a core dump when handed extra large values.  Also, `divert' now
  uses memory proportional to the number of diversions in use, rather than
  to the maximum diversion number encountered, so that large diversion
  numbers are less likely to exhaust system memory; and is no longer
  limited by the maximum number of file descriptors.
* The `--help' and `--version' command line options now consistently
  override all earlier options.  For example, `m4 --debugfile=trace
  --help' now no longer accidentally creates an empty file `trace'.
* The `-L'/`--nesting-limit' command line option can now be set to 0
  to remove the default limit of 1024.  However, it is still possible that
  heavily nested input can cause abrupt program termination due to stack
  overflow.
* Problems encountered when writing to standard error, such as with the
  `errprint' macro, now always cause a non-zero exit status.
* Warnings and errors issued during macro expansion are now consistently
  reported at the line where the macro name was detected, rather than
  where the close parenthesis resides.  Text wrapped by `m4wrap' now
  remembers the location that was in effect when m4wrap was invoked,
  rather than changing to line 0 and the empty string for a file.  The
  macros `__line__' and `__file__' now work correctly even as the last
  token in an included file.
* The `builtin' and `indir' macros now transparently handle builtin
  tokens generated by `defn'.
* When diversions created by the `divert' macro collect enough text that
  M4 must use temporary files, the environment variable $TMPDIR is now
  consulted, and a better effort is made to clean up those files in the
  event of a fatal signal.
* The `mkstemp' builtin is added with the same GNU semantics as `maketemp',
  based on the recommendation of POSIX to deprecate the POSIX semantics of
  `maketemp' as inherently insecure.  In GNU mode (no -G supplied on the
  command line), `maketemp' silently retains the secure GNU semantics, but
  a future release of M4 will change this to emit a warning.  In
  traditional mode (m4 -G), `maketemp' now uses the POSIX-mandated insecure
  semantics, and issues a warning that you should convert your script to
  use `mkstemp' instead.  Additionally, `mkstemp' and `maketemp' are now
  well-defined even if the template argument does not end in six `X'
  characters.
* The manual has been improved, including a new section on a composite
  macro `foreach'.
* The `changecom' and `changequote' macros now treat an empty second
  argument the same as if it were missing, rather than using the empty
  string and making it impossible to end a comment or quote.
* The `translit' macro now operates in linear instead of quadratic time,
  and is now eight-bit clean.
* The `-D', `-U', `-s', and `-t' command line options now take effect
  after any files encountered earlier on the command line, rather than up
  front, as is done in traditional implementations and required by POSIX.
2006-12-04 12:46:57 +00:00
joerg
7f279c69f3 DESTDIR support. 2006-11-02 17:59:37 +00:00
wiz
f5b8945cb9 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:35:58 +00:00