<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/40ad96d20cf6c42bd6a92d6f35d847c4ab2c6e3d">https://github.com/macports/macports-ports/commit/40ad96d20cf6c42bd6a92d6f35d847c4ab2c6e3d</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 40ad96d libopenraw: Build fix for SnowLeopard and earlier
</span>40ad96d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 40ad96d20cf6c42bd6a92d6f35d847c4ab2c6e3d
</span>Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
AuthorDate: Sat Jul 1 22:27:52 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> libopenraw: Build fix for SnowLeopard and earlier
</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/libopenraw/Portfile | 3 ++-
graphics/libopenraw/files/patch-ifdentry.hpp.diff | 25 +++++++++++++++++++++++
2 files changed, 27 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/libopenraw/Portfile b/graphics/libopenraw/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 691aba6..27e9881 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/libopenraw/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/libopenraw/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,7 +29,8 @@ checksums rmd160 01f611f395c03a235e2ae49fb69d736231e3f125 \
</span>
use_bzip2 yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-Makefile.am.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-Makefile.am.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-ifdentry.hpp.diff
</span>
depends_build port:pkgconfig
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/libopenraw/files/patch-ifdentry.hpp.diff b/graphics/libopenraw/files/patch-ifdentry.hpp.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..84e7fd4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/libopenraw/files/patch-ifdentry.hpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,25 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/ifdentry.hpp.orig 2017-07-01 22:18:47.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/ifdentry.hpp 2017-07-01 22:22:24.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -38,6 +38,22 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "rawcontainer.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "ifd.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++extern "C" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ static size_t
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ strnlen(const char *s, size_t maxlen)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ size_t len;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ for (len = 0; len < maxlen; len++, s++) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (!*s)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return (len);
</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;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ namespace OpenRaw {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ class MetaValue;
</span></pre><pre style='margin:0'>
</pre>