ATI driver fails to build on non-DRI platforms

Alan Coopersmith <Alan.Coopersmith-UdXhSnd/[email protected]>
Newsgroups gmane.comp.freedesktop.release-wranglers,gmane.comp.freedesktop.xorg
Message-ID <[email protected]>
I haven't had a chance to look into what change broke it, but
after pulling over from Xorg head today, the ATI drivers no longer
build on Solaris x86 (which doesn't use DRI).

Specifically, the failures are:
"radeon_render.c", line 438: undefined struct/union member: CPStarted
"radeon_render.c", line 746: undefined struct/union member: CPStarted

The problem is simply that radeon.h defines CPStarted inside an
#ifdef XF86DRI block, but radeon_render.c uses them without wrapping
inside ifdef's.

Can someone who knows this code please fix?

Thanks,

	-alan-

-- 
	-Alan Coopersmith-           [email protected]
	 Sun Microsystems, Inc. - X Window System Engineering
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.