Commit graph

35 commits

Author SHA1 Message Date
obache
4172217d92 Update config.{guess,sub} from pkgsrc/mk/gnu-configure, for the case
required in bootstrap pkgsrc.
2013-08-03 13:14:11 +00:00
joerg
bb966cb206 Don't install cat page. Bump version. 2012-03-08 01:12:07 +00:00
joerg
1b6ca55b58 Sync config.{guess,sub} with mk/gnu-configure. 2007-03-12 00:48:28 +00:00
rillig
1fd58b933b Fixed a segmentation fault on IRIX. Although IRIX provides the
REG_STARTEND macro, it doesn't work as expected. A simple test case is:

	printf '\0\n\0\n' | nbsed /a/d

This test does not yet work as expected, but at least it doesn't cause
segmentation faults anymore. Handling of '\0' bytes must be improved.
2007-03-07 19:18:39 +00:00
schwarz
016f68cc28 added auxillary definition for systems that do not define _POSIX2_LINE_MAX
(such as IRIX 5). Change approved by jschauma.
2005-11-30 21:07:14 +00:00
grant
495ab8cee9 update config.{sub,guess} for various bootstrap tools. fixes build on
newer platforms such as DragonFly.

fixes PR pkg/28579 from Todd Willey.
2004-12-12 00:46:28 +00:00
grant
abdd668506 sync with src:
no trailing comma at end of enum.
2004-11-20 06:41:35 +00:00
jschauma
83a9355796 Sync with last (pointed out by jlam@: don't check for fgetln, setprogname
and getprogname.
We're using libnbcompat, so we know they exist.  (If we were to check again,
then we'd mess up definitions set in the nbcompat headers.)
2004-09-12 16:50:50 +00:00
jschauma
3b7e4ba262 Remove check for getprogname, setprogname and fgetln, consistent with
jlam's last change, since we use libnbcompat.  (If we left these checks in,
configure would test for them, find them and set HAVE_GETPROGNAME, subsequently
breaking 'getprogname', as nbcompat.h wouldn't work since HAVE_GETPROGNAME
is then defined.)
2004-09-11 17:54:04 +00:00
jmmv
ae0b6d6cea Fix build by solving a namespace collision introduced by libnbcompat.
I'm doing it the easy way because jlam@ will look at this problem closely
in a future.
2004-09-08 08:37:38 +00:00
jlam
cbc4a5a727 Simplify the import structure by keeping the "sed" name, and using the
configure script's --program-transform-name to install as "nbsed".  Also
add a cat-ready nbsed.0 file.
2004-08-27 03:45:08 +00:00
jlam
14c650204f Rename the err() defined in the nbsed sources to "sederr" to avoid
conflicts with the system err() pulled in via <nbcompat.h>.
2004-08-23 03:03:08 +00:00
jlam
73596af21b We use libnbcompat, so remove some standalone implemenations of some
needed functions, and vastly simplify the configure script.
2004-08-23 02:58:58 +00:00
jlam
c911e88f6d Include <termios.h> for winsize declaration and TIOCGWINSZ. Should fix
build on Solaris.
2004-08-22 05:51:55 +00:00
jlam
6cc8af8dc3 Update textproc/nbsed to 20040821 (date of import from src HEAD).
Changes from the previous version include:

- Adding a sed2nbcompat script to ease importing from src HEAD into
  pkgsrc.

- Make this package depend on libnbcompat since it needs a regex
  implementation and it's also a bootstrap package.

* s/xmalloc/xrealloc/ so that large (greater than _POSIX2_LINE_MAX*2-1)
  multi line text can be added.
2004-08-21 08:39:54 +00:00
grant
5eee77338d sync with src:
Usage: Options before arguments; add -E.
2004-07-25 05:40:39 +00:00
grant
46bbd6c55d sync with src:
Sort options.
2004-07-25 05:40:25 +00:00
grant
9c376da5ba sync with src:
Yet another s/xmalloc/xrealloc/ so that large multi line text
can be added.
2004-07-25 05:40:08 +00:00
grant
9fa7114bcf sync with src:
safer realloc, from openbsd
2004-06-13 13:12:09 +00:00
grant
3c859771e0 sync with src:
prevent integer underflow.  freebsd rev 1.32.  via openbsd
2004-06-13 13:11:41 +00:00
grant
37c6587ce0 sync with src:
apply patch in PR to fix argument parsing bug.
apply patch in PR to avoid writing to unallocated memory.
2004-06-13 13:09:34 +00:00
grant
f81cc371cf sync with src:
Bump Dd for previous.
2004-06-13 13:07:29 +00:00
grant
70c2720413 sync with src:
Point people to re_format(7) instead of regex(3) for RE description
2004-06-13 13:07:00 +00:00
grant
b5a9b112f6 sync with src:
Move UCB-licensed code from 4-clause to 3-clause licence.
2004-06-13 13:04:02 +00:00
minskim
a78dcdd77e Sync nbsed with -current and bump its version to 20040612. This fixes
a bug reported in PR bin/25899 that makes sed(1) fail if the last
character of the line buffer is a backslash.
2004-06-12 05:18:23 +00:00
grant
5bf3251757 sync with -current:
call setprogname(), replace a 'sed' with getprogname().
2003-10-16 12:13:54 +00:00
grant
6de2b0d256 regen 2003-10-16 12:06:26 +00:00
grant
6dcf345625 - this is named 'nbsed', not 'nb-sed'
- s/netbsd.org/NetBSD.org/
2003-10-16 12:05:36 +00:00
grant
4ce5753a63 portability fixes:
- test for __inline/inline, de-mangle the corresponding hack in
  process.c to reduce the diff to NetBSD-current source
- move some autoconf-y bits to configure.ac

fixes build on Solaris with SunPro.
2003-10-16 12:04:41 +00:00
grant
3198ef6af6 add configure.lineno to distclean target 2003-10-16 12:00:12 +00:00
grant
d5d82bc86b remove a file which shouldn't be here 2003-10-16 11:51:17 +00:00
jschauma
9645973639 Resurrect 'inline' as '__inline', which Irix MipsPro compiler knows.
Following suggestions by Martin Husemann and Todd Vierling.
2003-08-25 16:06:49 +00:00
jschauma
6ac56349ca Bump date for ability to build on Irix. 2003-08-23 22:20:25 +00:00
jschauma
0823098b1f Synch with basesrc:
The 'inline' keyword is a nonstandard extension of GCC, AFAIK.
MipsPro does not like it, so remove it.

Add fgetln prototype ifndef HAVE_FGETLN.
This makes this compile on Irix with the MipsPro Compiler as well as gcc.
2003-08-23 22:13:56 +00:00
agc
7825056ec8 Initial import of an autoconf-ed version of NetBSD's sed(1). 2003-08-18 17:34:54 +00:00