<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/d41c2bb29af3b9f81201a47d39900f6358f925f9">https://github.com/macports/macports-ports/commit/d41c2bb29af3b9f81201a47d39900f6358f925f9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d41c2bb29af3b9f81201a47d39900f6358f925f9
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Tue Jan 1 12:34:27 2019 -0500

<span style='display:block; white-space:pre;color:#404040;'>    cuneiform: make call to abs() unambiguous
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    closes: https://trac.macports.org/ticket/56827
</span>---
 textproc/cuneiform/Portfile                               |  1 +
 ...iform_src-Kern-rimage-sources-main-cricontrol-abs.diff | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/cuneiform/Portfile b/textproc/cuneiform/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6641979a..3b7381e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/cuneiform/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/cuneiform/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,6 +37,7 @@ platform darwin powerpc {
</span> 
 patchfiles-append       patch-cuneiform_src-Kern-ced-sources-main-ced_func_rtf.cpp.diff
 patchfiles-append       patch-cuneiform_src-Kern-leo-src-leo_dll.c.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append       patch-cuneiform_src-Kern-rimage-sources-main-cricontrol-abs.diff
</span> 
 cmake.out_of_source     yes
 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/cuneiform/files/patch-cuneiform_src-Kern-rimage-sources-main-cricontrol-abs.diff b/textproc/cuneiform/files/patch-cuneiform_src-Kern-rimage-sources-main-cricontrol-abs.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..ba99c95
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/cuneiform/files/patch-cuneiform_src-Kern-rimage-sources-main-cricontrol-abs.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git cuneiform_src/Kern/rimage/sources/main/cricontrol.cpp cuneiform_src/Kern/rimage/sources/main/cricontrol.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index d03aced..a242c79 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- cuneiform_src/Kern/rimage/sources/main/cricontrol.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ cuneiform_src/Kern/rimage/sources/main/cricontrol.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -594,8 +594,8 @@ Bool32 CRIControl::CreateDestinatonDIB(uint32_t BitCount)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           return FALSE;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  wNewHeight = (mbMarginsFlag ? abs(mrMargins.rmBottomMarg - mrMargins.rmTopMarg) : mpSourceDIB->GetLinesNumber());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  wNewWidth = (mbMarginsFlag ? abs(mrMargins.rmLeftMarg - mrMargins.rmRightMarg) : mpSourceDIB->GetLineWidth());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  wNewHeight = (mbMarginsFlag ? abs(static_cast<int>(mrMargins.rmBottomMarg - mrMargins.rmTopMarg)) : mpSourceDIB->GetLinesNumber());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  wNewWidth = (mbMarginsFlag ? abs(static_cast<int>(mrMargins.rmLeftMarg - mrMargins.rmRightMarg)) : mpSourceDIB->GetLineWidth());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   mpSourceDIB->GetResolutionDPM( &wXResolution, &wYResolution);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   if ( !mpDestinationDIB->CreateDIBBegin( wNewWidth, wNewHeight, BitCount) )
</span></pre><pre style='margin:0'>

</pre>