diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-01-06 18:28:10 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-01-06 18:28:10 +0100 |
commit | 612e70304df3288738a5e9f9cce3bc05d34c96a0 (patch) | |
tree | 62b865597d0629b4b8abb5a987a62e893eba43c8 /package/mesa | |
parent | 23886e8ce758d05caeb969925c40ab5d75ce8aff (diff) |
disable when backtrace, when debug is enabled
Diffstat (limited to 'package/mesa')
-rw-r--r-- | package/mesa/patches/patch-src_mapi_glapi_glapi_gentable_c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/mesa/patches/patch-src_mapi_glapi_glapi_gentable_c b/package/mesa/patches/patch-src_mapi_glapi_glapi_gentable_c new file mode 100644 index 000000000..af6a53aa7 --- /dev/null +++ b/package/mesa/patches/patch-src_mapi_glapi_glapi_gentable_c @@ -0,0 +1,14 @@ +--- mesa-11.0.6.orig/src/mapi/glapi/glapi_gentable.c 2015-11-21 12:45:27.000000000 +0100 ++++ mesa-11.0.6/src/mapi/glapi/glapi_gentable.c 2016-01-05 22:36:19.266092512 +0100 +@@ -35,11 +35,6 @@ + #include <dix-config.h> + #endif + +-#if (defined(GLXEXT) && defined(HAVE_BACKTRACE)) \ +- || (!defined(GLXEXT) && defined(DEBUG) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)) +-#define USE_BACKTRACE +-#endif +- + #ifdef USE_BACKTRACE + #include <execinfo.h> + #endif |