<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/eff71eaab2a579416ed76ac763b9747ee02bd367">https://github.com/macports/macports-ports/commit/eff71eaab2a579416ed76ac763b9747ee02bd367</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 eff71ea mimetic: Fix build failure with recent compilers
</span>eff71ea is described below
<span style='display:block; white-space:pre;color:#808000;'>commit eff71eaab2a579416ed76ac763b9747ee02bd367
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Nov 1 03:57:29 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> mimetic: Fix build failure with recent compilers
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also add size to checksums
</span>---
devel/mimetic/Portfile | 5 ++++-
devel/mimetic/files/mmfile.cxx.patch | 13 +++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/mimetic/Portfile b/devel/mimetic/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c33aa90..01eda52 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/mimetic/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/mimetic/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,7 +18,10 @@ homepage http://www.codesink.org/mimetic_mime_library.html
</span> master_sites http://www.codesink.org/download/
checksums rmd160 02a1268f78f17b52326e6b8c03cbbd6aae9d4d82 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 3a07d68d125f5e132949b078c7275d5eb0078dd649079bd510dd12b969096700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 3a07d68d125f5e132949b078c7275d5eb0078dd649079bd510dd12b969096700 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 556716
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles mmfile.cxx.patch
</span>
livecheck.type regex
livecheck.url ${homepage}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/mimetic/files/mmfile.cxx.patch b/devel/mimetic/files/mmfile.cxx.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..cb3fa3a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/mimetic/files/mmfile.cxx.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix "ordered comparison between pointer and zero ('char *' and 'int')"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://sourceforge.net/p/mimetic/bugs/2/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mimetic/os/mmfile.cxx.orig 2014-06-17 03:12:00.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mimetic/os/mmfile.cxx 2018-11-01 03:53:21.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -57,7 +57,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bool MMFile::map()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_beg = (char*) mmap(0, m_st.st_size, PROT_READ, MAP_SHARED,m_fd,0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if(m_beg > 0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if(m_beg != NULL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_end = m_beg + m_st.st_size;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if HAVE_MADVISE
</span></pre><pre style='margin:0'>
</pre>