Bug 4434

Summary: freebsd-dri does not honor ASM_FLAGS and so fails to compile
Product: Mesa Reporter: Diego Elio Pettenò <flameeyes>
Component: GLXAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: FreeBSD   
Whiteboard:
i915 platform: i915 features:
Attachments: mesa-6.3.2-freebsd.patch

Description Diego Elio Pettenò 2005-09-12 17:14:24 UTC
I don't have the build log at hand, but basically when building 
freebsd-dri-x86 (in this case on Gentoo/FreeBSD, but it's the same on a 
by-hand compile) the build failed because of double-definition of all the gl* 
functions. This because dispatch.c included, in some way, glapitemp.h when 
X86_ASM was not defined, and it wasn't also if ASM_FLAGS were set as 
freebsd-dri config does not honor ASM_FLAGS setting. 
The attached patch fixes the build problem. 
 
HTH, 
Diego
Comment 1 Diego Elio Pettenò 2005-09-12 17:15:37 UTC
Created attachment 3242 [details] [review]
mesa-6.3.2-freebsd.patch
Comment 2 Eric Anholt 2005-09-12 22:19:09 UTC
Committed, thanks!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.