Subject: pkg/32967: xorg-server doesn't build on sparc64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <tonnerre@bsdprojects.net>
List: pkgsrc-bugs
Date: 03/02/2006 12:55:00
>Number:         32967
>Category:       pkg
>Synopsis:       xorg-server doesn't build on sparc64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 02 12:55:00 +0000 2006
>Originator:     Tonnerre Lombard
>Release:        NetBSD 2.1
>Organization:
/chaos/control
>Environment:
NetBSD julien.sygroup-int.ch 2.1 NetBSD 2.1 (GENERIC) #0: Tue Oct 25 01:00:27 UTC 2005  builds@b2.netbsd.org:/home/builds/ab/netbsd-2-1-RELEASE/sparc64/200510241747Z-obj/home/builds/ab/netbsd-2-1-RELEASE/src/sys/arch/sparc64/compile/GENERIC sparc64
>Description:
xorg-server  fails to build because of a misdefinition of PROP_UNROLL_CASE32:

cfbsolidC.c: In function 'cfbFillRectSolidCopy':
cfbsolidC.c: 750: warning: implicit declaration of function 'PROP_UNROLL_CASE32'
cfbsolidC.c: 750: error: parse error before "case"
cfbsolidC.c: 755: warning: redundant redeclaration of 'PROP_UNROLL_CASE32' in same scope
cfbsolidC.c: 750: warning: previous declaration of 'PROP_UNROLL_CASE32'
cfbsolidC.c: 755: error: parse error before "case"
cfbsolidC.c: 763: warning: redundant redeclaration of 'PROP_UNROLL_CASE32' in same scope
cfbsolidC.c: 750: warning: previous declaration of 'PROP_UNROLL_CASE32'
cfbsolidC.c: 763: error: parse error before "case"
cfbsolidC.c: 768: warning: redundant redeclaration of 'PROP_UNROLL_CASE32'
cfbsolidC.c: 750: warning: previous declaration of 'PROP_UNROLL_CASE32'
cfbsolidC.c: 768: error: parse error before "case"
cfbsolidC.c: In function 'cfbSolidSpansCopy':
cfbsolidC.c: 1356: error: parse error before "case"

Unfortunately, I don't currently have time to look into this, so I'm posting this report.

(Also, when will we finally have X.Org 7.0 in pkgsrc?)
>How-To-Repeat:
(cd /usr/pkgsrc/x11/xorg-server && make build)
>Fix: