Subject: pkg/13672: Ted-2.10 build fails
To: None <>
From: seebs <>
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
>Originator:     seebs
>Release:        NetBSD 1.5.1
System: NetBSD 1.5X NetBSD 1.5X (GED) #2: Thu Aug 9 13:14:53 CDT 2001 i386

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.  :)

	cd /usr/src/pkgsrc/editors/ted