Subject: pkg/30876: graphics/urt don't build right on amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <wojtek@tensor.3miasto.net>
List: pkgsrc-bugs
Date: 07/30/2005 15:04:00
>Number:         30876
>Category:       pkg
>Synopsis:       graphics/urt don't build right on amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 30 15:04:00 +0000 2005
>Originator:     Wojciech Puchar
>Release:        -current
>Organization:
TENSOR ap
>Environment:
NetBSD chylonia.3miasto.net 3.99.7 NetBSD 3.99.7 (chylonia.3miasto.net) #2: Thu Jul 28 23:02:58 CEST 2005  root@chylonia.3miasto.net:/usr/src/src/sys/arch/amd64/compile/chylonia.3miasto.net amd64

>Description:
looks like bad assumption that sizeof(int)==sizeof(void*) or something similar

rleClock.c: In function `main':                                                                       
rleClock.c:188: warning: return type of `main' is not `int'                                           
rleClock.c: At top level:                                                                             
rleClock.c:602: warning: initialization makes integer from pointer without a cast                     
rleClock.c:912: error: conflicting types for `stack_t'                                                
/usr/include/sys/sigtypes.h:142: error: previous declaration of `stack_t'                             

>How-To-Repeat:
try to build graphics/urt on amd64

not tested on other arch however
>Fix:
none