Subject: pkg/9880: math/xmgr fails to compile properly
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mw34@cornell.edu>
List: netbsd-bugs
Date: 04/13/2000 22:11:08
>Number:         9880
>Category:       pkg
>Synopsis:       math/xmgr fails to compile properly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 13 22:12:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wolfson
>Release:        1.4.2
>Organization:
>Environment:
NetBSD fatmac 1.4.2 NetBSD 1.4.2 (FATMAC) #0: Mon Mar 20 00:36:27 EST 2000     mw@fatmac:/usr/src/sys/arch/hp300/compile/FATMAC hp300
>Description:

math/xmgr (4.1.2) (from pkgsrc.tar.gz dated Apr 8, 2000) fails to compile properly:

cc -O2  -I/usr/X11R6/include  -I/usr/X11R6/include/X11 -I/usr/pkg/include -I.. -
I. -DGR_HOME=\"/usr/X11R6\"    -DPRINT_CMD=\"'lpr'\"  -c compute.c
cc -O2  -I/usr/X11R6/include  -I/usr/X11R6/include/X11 -I/usr/pkg/include -I.. -
I. -DGR_HOME=\"/usr/X11R6\"    -DPRINT_CMD=\"'lpr'\"  -c draw.c
draw.c:23: syntax error before `('
draw.c: In function `lengthpoly':
draw.c:943: warning: type mismatch in implicit declaration for built-in function
 `sqrt'
draw.c: In function `drawpolarpoly':
draw.c:971: warning: type mismatch in implicit declaration for built-in function
 `cos'
draw.c:972: warning: type mismatch in implicit declaration for built-in function
 `sin'
draw.c: In function `my_circle':
draw.c:1222: warning: type mismatch in implicit declaration for built-in functio
n `fabs'
*** Error code 1

Stop.
>How-To-Repeat:

Extract pkgsrc.tar.gz from Apr 8, 2000
cd math/xmgr
make
>Fix:

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