On Wed, Jun 23, 2010 at 6:31 PM, nobled <nob...@dreamwidth.org> wrote: > Taking advice from the Debian BSD porting guide: > http://glibc-bsd.alioth.debian.org/porting/PORTING > > This should help fix Debian bug #585618 (gallium build failure). > --- > src/gallium/include/pipe/p_config.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > diff --git a/src/gallium/include/pipe/p_config.h > b/src/gallium/include/pipe/p_config.h > index b81702a..68025fa 100644 > --- a/src/gallium/include/pipe/p_config.h > +++ b/src/gallium/include/pipe/p_config.h > @@ -128,7 +128,7 @@ > #define PIPE_OS_UNIX > #endif > > -#if defined(__FreeBSD__) > +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) > #define PIPE_OS_FREEBSD > #define PIPE_OS_BSD > #define PIPE_OS_UNIX > -- > 1.5.4.3
Looks reasonable; does this actually work for you? I'd like somebody to test first. ~ C. -- When the facts change, I change my mind. What do you do, sir? ~ Keynes Corbin Simpson <mostawesomed...@gmail.com> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev