[Mesa-dev] [PATCH 4/4] Fix build with gcc 3.3.

2010-04-18 Thread Owain G. Ainsworth
From: Matthieu Herrb The builtins used here only appeard in gcc 3.4. --- src/mesa/main/imports.c |3 ++- src/mesa/main/imports.h |4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index 1ae0853..65fd476 100644 --- a/s

[Mesa-dev] [PATCH 3/4] Let this build with gcc 3.3

2010-04-18 Thread Owain G. Ainsworth
From: Matthieu Herrb Declaring the loop index inside for () is not supported by this version. --- src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c b/src/mesa/drivers/

[Mesa-dev] [PATCH 2/4] Fix command type for DRM_RADEON_IRQ_EMIT ioctl.

2010-04-18 Thread Owain G. Ainsworth
From: Owain Ainsworth This should be drmCommandWriteRead to avoid an EINVAL error on systems that strictly check ioctl args. This command has been r/w for ever. Discussion with airlied agreed that this was the correct course. --- src/mesa/drivers/dri/radeon/radeon_cs_legacy.c |2 +- 1 files

[Mesa-dev] [PATCH 1/4] Use __OpenBSD__ to check for OpenBSD.

2010-04-18 Thread Owain G. Ainsworth
From: Matthieu Herrb --- src/mesa/drivers/dri/common/xmlconfig.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/common/xmlconfig.c b/src/mesa/drivers/dri/common/xmlconfig.c index de4500a..738b1ae 100644 --- a/src/mesa/drivers/dri/common/xmlconfig.

[Mesa-dev] OpenBSD fixes from mesa 7.8

2010-04-18 Thread Owain G. Ainsworth
The following patches are the patches that were required to make mesa 7.8.1 build and work on OpenBSD. Mostly it is fixing build issues, and one problem where the incorrect drmCommand type was used in radeon. Cheers, -0- ___ mesa-dev mailing list mesa-d