<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/879d4b1e4ca86d268f5082449ab8cbe7d8237d4e">https://github.com/macports/macports-ports/commit/879d4b1e4ca86d268f5082449ab8cbe7d8237d4e</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 879d4b1e4ca lcms2: disable linker warning if needed
</span>879d4b1e4ca is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 879d4b1e4ca86d268f5082449ab8cbe7d8237d4e
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sun Jun 14 17:36:44 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> lcms2: disable linker warning if needed
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> on Xcode 10+ when building i386, the linker
</span><span style='display:block; white-space:pre;color:#404040;'> warnings cause the build to fail
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/60656
</span>---
graphics/lcms2/Portfile | 7 +++++++
1 file changed, 7 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/lcms2/Portfile b/graphics/lcms2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6357dce39b7..671553739db 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/lcms2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/lcms2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,6 +2,7 @@
</span>
PortSystem 1.0
PortGroup muniversal 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup xcodeversion 1.0
</span>
name lcms2
version 2.10
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,6 +34,12 @@ depends_lib port:jpeg \
</span> port:tiff \
port:zlib
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# the i386 warning causes the universal build to fail
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/60656
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[vercmp ${xcodeversion} 10.0] >= 0 && [variant_isset universal]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ldflags-append -w
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> test.run yes
test.target check
</pre><pre style='margin:0'>
</pre>