<pre style='margin:0'>
Andrea D'Amore (anddam) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9bc861f971bd29390a47d4b064a5f6a5b1263eaf">https://github.com/macports/macports-ports/commit/9bc861f971bd29390a47d4b064a5f6a5b1263eaf</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9bc861f971bd29390a47d4b064a5f6a5b1263eaf
</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>