<pre style='margin:0'>
Jeremy Huddleston Sequoia (jeremyhu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/041ea9a5ef030cc4512c90c246f5af77ff9efd78">https://github.com/macports/macports-ports/commit/041ea9a5ef030cc4512c90c246f5af77ff9efd78</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 041ea9a mesa: Address a build failure on Leopard
</span>041ea9a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 041ea9a5ef030cc4512c90c246f5af77ff9efd78
</span>Author: Ken Cunningham <ken.cunningham.webuse@gmail.com>
AuthorDate: Sun Nov 6 12:54:50 2016 -0800
<span style='display:block; white-space:pre;color:#404040;'> mesa: Address a build failure on Leopard
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes https://trac.macports.org/ticket/52811
</span>---
x11/mesa/Portfile | 5 +++++
x11/mesa/files/patch-include-GL-mesa_glinterop_h.diff | 13 +++++++++++++
2 files changed, 18 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/mesa/Portfile b/x11/mesa/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ab40de9..9e90866 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/mesa/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/mesa/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -76,6 +76,11 @@ platform darwin {
</span>
patchfiles-append static-strndup.patch
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$(os.major) < 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/52811
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-include-GL-mesa_glinterop_h.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
if { ![file exists /usr/include/Xplugin.h] } {
# Xplugin.h is missing on Tiger
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/mesa/files/patch-include-GL-mesa_glinterop_h.diff b/x11/mesa/files/patch-include-GL-mesa_glinterop_h.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..be0c8ff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/mesa/files/patch-include-GL-mesa_glinterop_h.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mesa-12.0.1/include/GL/mesa_glinterop.h.orig 2016-11-03 11:21:54.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mesa-12.0.1/include/GL/mesa_glinterop.h 2016-11-03 11:09:05.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -58,8 +58,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Forward declarations to avoid inclusion of GL/glx.h */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef APPLE_GLX_CONTEXT_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ typedef struct _XDisplay Display;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ typedef struct __GLXcontextRec *GLXContext;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Forward declarations to avoid inclusion of EGL/egl.h */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ typedef void *EGLDisplay;
</span></pre><pre style='margin:0'>
</pre>