Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2000 10:22:25 -0800 (PST)
From:      David Wolfskill <david@catwhisker.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/17473: YACC error in wine-99.11.14 port (tools/wrc/parser.y)
Message-ID:  <200003181822.e2IIMPx25429@dhw-laptop.catwhisker.org>

next in thread | raw e-mail | index | archive | help

>Number:         17473
>Category:       ports
>Synopsis:       YACC error in wine-99.11.14 port (tools/wrc/parser.y)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 18 10:30:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     David Wolfskill
>Release:        FreeBSD 4.0-RELEASE i386
>Organization:
Whistle Communications (writing from home)
>Environment:

	Building wine-99.11.14 port; it doesn't appear that the version
	of FReeBSD is at issue, but as noted, it's 4.0-R.

>Description:

	In building the port for wine-99.11.14, the file
	/usr/ports/emulators/wine/work/wine-99.11.14/tools/wrc/parser.y
	is detected as having a parse error on line 1624.
	(Sorry; I didn't manage to keep the messages in the
	scroll buffer, but I've attached a patch.)

	The problem appears to have been a missing semicolon.
	(Note:  I have, at this point, merely got the port to
	build, which is where it had been failing.  I have yet
	to actually try to use it, and I'm not all that sure how
	to tell if it works:  I'm building it to see if some
	software my spouse wants to use will run under it.)

>How-To-Repeat:

	cd /usr/ports/emulators/wine; sudo make

>Fix:

===================================================================
RCS file: emulators/wine/work/wine-991114/tools/wrc/RCS/parser.y,v
retrieving revision 1.1
diff -u -r1.1 emulators/wine/work/wine-991114/tools/wrc/parser.y
--- emulators/wine/work/wine-991114/tools/wrc/parser.y	2000/03/18 15:15:26	1.1
+++ emulators/wine/work/wine-991114/tools/wrc/parser.y	2000/03/18 15:16:06
@@ -1621,7 +1621,7 @@
 e_expr	: /* Empty */	{ $$ = 0; }
 	| expr		{ $$ = new_int($1); }
 	;
-expr	: xpr	{ $$ = ($1) }
+expr	: xpr	{ $$ = ($1); }
 	;
 
 xpr	: xpr '+' xpr	{ $$ = ($1) + ($3); }

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003181822.e2IIMPx25429>