Subject: pkg/13672: Ted-2.10 build fails
To: None <gnats-bugs@gnats.netbsd.org>
From: seebs <seebs@ged.plethora.net>
List: netbsd-bugs
Date: 08/09/2001 18:17:39
>Number:         13672
>Category:       pkg
>Synopsis:       Ted-2.10 build fails
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 09 16:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     seebs
>Release:        NetBSD 1.5.1
>Organization:
>Environment:
System: NetBSD ged.plethora.net 1.5X NetBSD 1.5X (GED) #2: Thu Aug 9 13:14:53 CDT 2001 seebs@ged.plethora.net:/usr/src/sys/arch/i386/compile/GED i386


>Description:
gcc -I/usr/src/pkgsrc/editors/ted/work/.buildlink/include -O2
-I/usr/X11R6/include            -I/usr/X11R6/include
-I/usr/pkg/include              -I/usr/include          -I/usr/pkg/include
        -I/usr/pkg/include              -I../include            -I.
-I../appUtil -I/usr/src/pkgsrc/editors/ted/work/.buildlink/include  -c bmpng.c
bmpng.c: In function `bmReadPngFile':
bmpng.c:175: invalid lvalue in unary `&'
bmpng.c: In function `bmPngReadPng':
bmpng.c:237: invalid lvalue in unary `&'
*** Error code 1

A quick look suggests that line 175 is taking the address of an object of
type png_info.  I can't immediately see why this would be a problem, so this
could be my fault in some way.  :)

>How-To-Repeat:
	cd /usr/src/pkgsrc/editors/ted
	make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: