|Summary:||Mesa doesn't compile under NetBSD|
|Product:||Mesa||Reporter:||Pierre Allegraud <pallegra>|
|Status:||RESOLVED FIXED||QA Contact:|
|i915 platform:||i915 features:|
|Attachments:||Fixes for NetBSD support|
Description Pierre Allegraud 2011-01-05 14:40:45 UTC
Created attachment 41692 [details] [review] Fixes for NetBSD support Mesa's build system doesn't support NetBSD. Under NetBSD-current : ./configure && gmake fails. 1) configure disable dri and asm optimizations by default 2) configure add "-ansi -pedantic" to CXXFLAGS, and thus break a lot of compilations. (-ansi -pedantic is only added for *BSDs CXXFLAGS, why ?) 3) mklib builds libfoo_pic.a, while Makefiles expect libfoo.a 4) in src/mesa/drivers/dri/mach64/mach64_context.h, machine/endian.h is included for OpenBSD, but not for NetBSD The following trivial patch should fix these issues.
Comment 1 Brian Paul 2011-01-06 06:59:49 UTC
Looks good to me. I'll commit it soon.