Subject: pkg/34378: graphics/grap won't build with gcc4
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <smb@cs.columbia.edu>
List: pkgsrc-bugs
Date: 08/29/2006 18:50:00
>Number:         34378
>Category:       pkg
>Synopsis:       graphics/grap won't build with gcc4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 29 18:50:00 +0000 2006
>Originator:     Steven M. Bellovin
>Release:        NetBSD 4.99.1
>Organization:
	
>Environment:
	
	
System: NetBSD gg1.cs.columbia.edu 4.99.1 NetBSD 4.99.1 (GG1) #0: Sun Aug 27 12:42:38 EDT 2006 smb@gg1.cs.columbia.edu:/usr/BUILD/obj/sys/arch/i386/compile/GG1 i386
Architecture: i386
Machine: i386
>Description:
	When trying to build grap on -current (pkgsrc HEAD), I get

	c++ -O2  -DHAVE_CONFIG_H -c grap.cc
	grap_draw.h:242: error: extra qualification 'coord::' on member 'newpt'

>How-To-Repeat:
	See above
>Fix:
	Change line 242 of grap_draw.h to delete the extra qualifier --
	it's redundant (as well as incorrect), as best I can tell

>Unformatted: