[Mesa-dev] [PATCH] glapi: Do not use backtrace on DragonFly.

Brian Paul brianp at vmware.com
Mon Jul 28 10:18:02 PDT 2014


On 07/20/2014 02:54 PM, Vinson Lee wrote:
> execinfo.h is not available on DragonFly.
>
> Fixes this build error.
>
>    CC       glapi_gentable.lo
> glapi_gentable.c:44:22: fatal error: execinfo.h: No such file or directory
>
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
> ---
>   src/mapi/glapi/gen/gl_gentable.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mapi/glapi/gen/gl_gentable.py b/src/mapi/glapi/gen/gl_gentable.py
> index d45a5e0..2f01b4c 100644
> --- a/src/mapi/glapi/gen/gl_gentable.py
> +++ b/src/mapi/glapi/gen/gl_gentable.py
> @@ -42,7 +42,7 @@ header = """/* GLXEXT is the define used in the xserver when the GLX extension i
>   #endif
>
>   #if (defined(GLXEXT) && defined(HAVE_BACKTRACE)) \\
> -	|| (!defined(GLXEXT) && defined(DEBUG) && !defined(_WIN32_WCE) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && !defined(__NetBSD__))
> +	|| (!defined(GLXEXT) && defined(DEBUG) && !defined(_WIN32_WCE) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__))
>   #define USE_BACKTRACE
>   #endif
>
>

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list