<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b524db27b05095b3238b5faf7d4ee1276c0148a7">https://github.com/macports/macports-ports/commit/b524db27b05095b3238b5faf7d4ee1276c0148a7</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b524db27b05095b3238b5faf7d4ee1276c0148a7
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Mon Jan 2 13:23:30 2017 -0800
<span style='display:block; white-space:pre;color:#404040;'> libopenraw: update to version 0.1.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Use cxx11 portgroup
</span>---
graphics/libopenraw/Portfile | 12 +++++---
.../libopenraw/files/patch-lib-ifdentry.hpp.diff | 18 +++++++++++
.../files/patch-lib-jfifcontainer.cpp.diff | 36 +++++++++++-----------
3 files changed, 44 insertions(+), 22 deletions(-)
<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 bc8d5d2..3b96fcb 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;'>@@ -2,9 +2,12 @@
</span>
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# as of version 0.1.0 requires C++11 to build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> name libopenraw
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.0.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.1.0
</span> categories graphics
license LGPL-3+
maintainers devans openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,12 +24,13 @@ long_description ${description} \
</span> digital image processing applications. It also has the goal to address features \
missing from dcraw such as meta-data decoding and easy thumbnail extraction.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums sha1 ca246099c5b4f9f1714579706f019382c547b061 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 c525d8f028cec056b2217815cc7c390c80082281
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 e229cd1b6c156391d894f64ef1f3abadf3490d89 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4dede1db9b85c9c22a1ddaf37839f2713746a00b81a6d4623d66556000cb76cf
</span>
use_bzip2 yes
patchfiles patch-Makefile.am.diff \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-lib-ifdentry.hpp.diff \
</span> patch-lib-jfifcontainer.cpp.diff
depends_build port:pkgconfig
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/libopenraw/files/patch-lib-ifdentry.hpp.diff b/graphics/libopenraw/files/patch-lib-ifdentry.hpp.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..28aed12
</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-lib-ifdentry.hpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/ifdentry.hpp.orig 2017-01-02 12:50:59.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/ifdentry.hpp 2017-01-02 12:51:42.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -123,13 +123,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Apple broken C++ needs this
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Now that we are C++11 we might not even need this anymore.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ template <>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-inline unsigned long IfdTypeTrait<unsigned long>::EL(const uint8_t* b)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++inline unsigned long IfdTypeTrait<unsigned long>::EL(const uint8_t* b) noexcept
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return EL32(b);
</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;'>+ template <>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-inline unsigned long IfdTypeTrait<unsigned long>::BE(const uint8_t* b)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++inline unsigned long IfdTypeTrait<unsigned long>::BE(const uint8_t* b) noexcept
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return BE32(b);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/libopenraw/files/patch-lib-jfifcontainer.cpp.diff b/graphics/libopenraw/files/patch-lib-jfifcontainer.cpp.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 8a3d59f..5de463d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/libopenraw/files/patch-lib-jfifcontainer.cpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/libopenraw/files/patch-lib-jfifcontainer.cpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,20 +1,20 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- lib/jfifcontainer.cpp.orig 2011-11-13 01:00:09.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ lib/jfifcontainer.cpp 2016-03-31 11:09:29.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -145,7 +145,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int ret = 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (::setjmp(m_jpegjmp) == 0) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ret = JPEG::jpeg_read_header(&m_cinfo, TRUE);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ret = JPEG::jpeg_read_header(&m_cinfo, JPEG::TRUE);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- //Trace(DEBUG1) << "jpeg_read_header " << ret << "\n";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- JPEG::jpeg_calc_output_dimensions(&m_cinfo);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -181,7 +181,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src->pub.next_input_byte = NULL;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src->pub.bytes_in_buffer = 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- return TRUE;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return JPEG::TRUE;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/jfifcontainer.cpp.orig 2016-04-25 20:09:11.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/jfifcontainer.cpp 2017-01-02 13:00:36.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -157,7 +157,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_file->seek(0, SEEK_SET);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (::setjmp(m_jpegjmp) == 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int ret = JPEG::jpeg_read_header(&m_cinfo, TRUE);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int ret = JPEG::jpeg_read_header(&m_cinfo, JPEG::TRUE);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ //Trace(DEBUG1) << "jpeg_read_header " << ret << "\n";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ JPEG::jpeg_calc_output_dimensions(&m_cinfo);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -194,7 +194,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src->pub.next_input_byte = nullptr;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src->pub.bytes_in_buffer = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return TRUE;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return JPEG::TRUE;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
</pre><pre style='margin:0'>
</pre>