<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5f9fe22b5e0b115da95f529ba6d280cea047a4bc">https://github.com/macports/macports-ports/commit/5f9fe22b5e0b115da95f529ba6d280cea047a4bc</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5f9fe22b5e0b115da95f529ba6d280cea047a4bc
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Wed Sep 11 22:46:33 2019 -0700

<span style='display:block; white-space:pre;color:#404040;'>    parrot: find OpenGL headers on newer Xcode versions
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    See https://github.com/parrot/parrot/issues/1016
</span><span style='display:block; white-space:pre;color:#404040;'>    No revbump since the port either builds correctly or not at all.
</span>---
 lang/parrot/Portfile                         |  6 ++++++
 lang/parrot/files/patch-opengl_location.diff | 13 +++++++++++++
 2 files changed, 19 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/parrot/Portfile b/lang/parrot/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8971304..3f8dafb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/parrot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/parrot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,6 +34,12 @@ depends_lib             port:gettext \
</span>                         port:readline \
                         port:zlib
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://github.com/parrot/parrot/issues/1016
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append       patch-opengl_location.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace "s|__MACPORTS_SDK_ROOT_|${configure.sdkroot}|g" ${worksrcpath}/config/gen/opengl.pm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.cmd           perl Configure.pl
 configure.args          --mandir=${prefix}/share/man \
                         --cc=${configure.cc} \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/parrot/files/patch-opengl_location.diff b/lang/parrot/files/patch-opengl_location.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..762706a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/parrot/files/patch-opengl_location.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;'>+--- config/gen/opengl.pm.orig      2016-02-15 01:33:18.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ config/gen/opengl.pm   2019-09-11 22:33:00.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -443,8 +443,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         '/usr/local/include/GL/*.h',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         # Mac OS X
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-        '/System/Library/Frameworks/OpenGL.framework/Headers/*.h',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-        '/System/Library/Frameworks/GLUT.framework/Headers/*.h',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++        '__MACPORTS_SDK_ROOT_/System/Library/Frameworks/OpenGL.framework/Headers/*.h',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++        '__MACPORTS_SDK_ROOT_/System/Library/Frameworks/GLUT.framework/Headers/*.h',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         # Cygwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         '/usr/include/w32api/GL/*.h',
</span></pre><pre style='margin:0'>

</pre>