<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/42068fcb8a9fc844288234c92c4dcf581a35ea66">https://github.com/macports/macports-ports/commit/42068fcb8a9fc844288234c92c4dcf581a35ea66</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 42068fc john-jumbo: don't build against too-old opencl headers
</span>42068fc is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 42068fcb8a9fc844288234c92c4dcf581a35ea66
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sun Sep 8 12:56:03 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> john-jumbo: don't build against too-old opencl headers
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> fixes build on 10.6.8 / same error on 10.7.5
</span>---
sysutils/john/Portfile | 6 ++++++
1 file changed, 6 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/john/Portfile b/sysutils/john/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3110367..d50ab30 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/john/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/john/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -91,6 +91,12 @@ subport john-jumbo {
</span>
use_configure yes
configure.dir ${worksrcpath}/src
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # error We need minimum OpenCL 1.2 to build with OpenCL support.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && ${os.major} <= 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --disable-opencl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> build.dir ${worksrcpath}/src
build.target default
if {[vercmp [macports_version] 2.5.99] >= 0} {
</pre><pre style='margin:0'>
</pre>