[MacPorts] #62203: mesa @19.0.8: build fails on < 10.7 with glext.h:303:15: error: typedef redefinition with different types
MacPorts
noreply at macports.org
Wed Feb 3 20:17:45 UTC 2021
#62203: mesa @19.0.8: build fails on < 10.7 with glext.h:303:15: error: typedef
redefinition with different types
---------------------+-------------------------
Reporter: kencu | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: snowleopard
Port: mesa |
---------------------+-------------------------
Comment (by kencu):
apple_glx_context.c has not changed much:
{{{
$ diff -u
/opt/SnowLeopardPorts/x11/mesa/work/mesa-17.1.6/src/glx/apple/apple_glx_context.c
/opt/macports-
ports/x11/mesa/work/mesa-18.3.6/src/glx/apple/apple_glx_context.c
---
/opt/SnowLeopardPorts/x11/mesa/work/mesa-17.1.6/src/glx/apple/apple_glx_context.c
2017-08-07 05:04:30.000000000 -0700
+++ /opt/macports-
ports/x11/mesa/work/mesa-18.3.6/src/glx/apple/apple_glx_context.c
2019-04-05 03:53:23.000000000 -0700
@@ -55,6 +55,8 @@
#include "apple_cgl.h"
#include "apple_glx_drawable.h"
+#include "util/debug.h"
+
static pthread_mutex_t context_lock = PTHREAD_MUTEX_INITIALIZER;
/*
@@ -181,7 +183,7 @@
*x11errorptr = false;
}
- if (getenv("LIBGL_DIAGNOSTIC"))
+ if (env_var_as_boolean("LIBGL_DIAGNOSTIC", false))
fprintf(stderr, "error: %s\n", apple_cgl.error_string(error));
return true;
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62203#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list