Subject: Re: [patch] 1.6 build: why do I need this?
To: Bryan J. Phillippe <bryan@darkforest.org>
From: Luke Mewburn <lukem@wasabisystems.com>
List: netbsd-users
Date: 10/16/2002 09:04:15
On Tue, Oct 15, 2002 at 08:45:32AM -0700, Bryan J. Phillippe wrote:
  | Hello,
  | 
  | For some reason,(*) I need this patch to build 1.6:

I've applied a pullup to the netbsd-1-6 branch to resolve this issue.
If you update to revision 1.10.2.2 of that file, your problem should
be resolved.

Luke.


  | Index: distrib/common/parselist.awk
  | ===================================================================
  | RCS file: /cvsroot/basesrc/distrib/common/parselist.awk,v
  | retrieving revision 1.10.2.1
  | diff -u -r1.10.2.1 parselist.awk
  | --- distrib/common/parselist.awk	2002/05/29 04:52:13	1.10.2.1
  | +++ distrib/common/parselist.awk	2002/10/15 15:29:12
  | @@ -141,14 +141,14 @@
  | 
  |  #	replace ${FOO} with ENVIRON["FOO"]
  |  #
  | -/\${[A-Za-z0-9_]+}/ \
  | +/\$\{[A-Za-z0-9_]+\}/ \
  |  {
  | -	while (match($0, /\${[A-Za-z0-9_]+}/) > 0) {
  | +	while (match($0, /\$\{[A-Za-z0-9_]+\}/) > 0) {
  |  		v = substr($0, RSTART + 2, RLENGTH - 3);
  |  		if (! (v in ENVIRON))
  |  			err("Variable " v " is not in the environment");
  |  		else
  | -			sub(/\${[A-Za-z0-9_]+}/, ENVIRON[v]);
  | +			sub(/\$\{[A-Za-z0-9_]+\}/, ENVIRON[v]);
  |  	}
  |  }
  | 
  | (*) I suspect it may be because I have POSIXLY_CORRECT set in my shell.
  | 
  | -bp
  | --
  | # bryan_at_darkforest_dot_org
  | # Software Engineer
  | 

-- 
Luke Mewburn  <lukem@wasabisystems.com>  http://www.wasabisystems.com
Luke Mewburn     <lukem@netbsd.org>      http://www.netbsd.org
Wasabi Systems - NetBSD hackers for hire
NetBSD - the world's most portable UNIX-like operating system