<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/1a4c4fc32e13075519fcb9bd215393aa095cb724">https://github.com/macports/macports-ports/commit/1a4c4fc32e13075519fcb9bd215393aa095cb724</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 1a4c4fc ucraw: Fix build with newer toolchains
</span>1a4c4fc is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1a4c4fc32e13075519fcb9bd215393aa095cb724
</span>Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
AuthorDate: Tue Dec 20 00:23:01 2016 -0800
<span style='display:block; white-space:pre;color:#404040;'> ucraw: Fix build with newer toolchains
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> dcraw.cc:9260:11: error: call to 'abs' is ambiguous
</span><span style='display:block; white-space:pre;color:#404040;'> if (abs(i) < abs(c)) {
</span><span style='display:block; white-space:pre;color:#404040;'> ^~~
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> i and c are unsigned, so just drop the abs().
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
</span>---
graphics/ufraw/files/patch-dcraw.cc.diff | 9 +++++++++
1 file changed, 9 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/ufraw/files/patch-dcraw.cc.diff b/graphics/ufraw/files/patch-dcraw.cc.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 2734e09..a61106b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/ufraw/files/patch-dcraw.cc.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/ufraw/files/patch-dcraw.cc.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,3 +27,12 @@
</span> jpeg_start_decompress (&cinfo);
buf = (*cinfo.mem->alloc_sarray)
((j_common_ptr) &cinfo, JPOOL_IMAGE, cinfo.output_width*3, 1);
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9256,7 +9256,7 @@ canon_a5:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (make[0] == 'O') {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i = find_green (12, 32, 1188864, 3576832);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ c = find_green (12, 32, 2383920, 2387016);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (abs(i) < abs(c)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (i < c) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SWAP(i,c);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ load_flags = 24;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span></pre><pre style='margin:0'>
</pre>