<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/57c0181d0efdf619298bdbafdd47b433b71e0d16">https://github.com/macports/macports-ports/commit/57c0181d0efdf619298bdbafdd47b433b71e0d16</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 57c0181d0ef exact-image: Fix build with Xcode 13+
</span>57c0181d0ef is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 57c0181d0efdf619298bdbafdd47b433b71e0d16
</span>Author: Sriranga Veeraraghavan <srirangav@users.noreply.github.com>
AuthorDate: Sat Mar 19 03:22:28 2022 +0000
<span style='display:block; white-space:pre;color:#404040;'> exact-image: Fix build with Xcode 13+
</span>---
graphics/exact-image/Portfile | 3 ++-
graphics/exact-image/files/patch-codecs-jpeg2000.diff | 19 +++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/exact-image/Portfile b/graphics/exact-image/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f313aafcf9d..4130d4adfa9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/exact-image/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/exact-image/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup legacysupport 1.0
</span>
name exact-image
version 1.0.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> checksums rmd160 2d33b4139e33f547ba3c7b7025f5045abdf5a17a \
sha256 0694c66be5dec41377acead475de69b3d7ffb42c702402f8b713f8b44cdc2791 \
size 322174
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,6 +28,7 @@ patchfiles-append patch-no_fast.diff
</span> patchfiles-append patch-cflags-cxxflags.diff
patchfiles-append patch-static-library-ar.diff
patchfiles-append patch-save-config.log.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-codecs-jpeg2000.diff
</span>
depends_build port:pkgconfig
depends_lib port:antigraingeometry \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/exact-image/files/patch-codecs-jpeg2000.diff b/graphics/exact-image/files/patch-codecs-jpeg2000.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..815dc875957
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/exact-image/files/patch-codecs-jpeg2000.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,19 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- codecs/jpeg2000.cc.orig 2022-03-18 01:34:48.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ codecs/jpeg2000.cc 2022-03-18 01:38:53.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -67,14 +67,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return stream;
</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;'>+-static int cpp_jas_read (jas_stream_obj_t* obj, char* buf, int cnt)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static int cpp_jas_read (jas_stream_obj_t* obj, char* buf, unsigned int cnt)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ std::istream* stream = (std::istream*) obj;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ stream->read (buf, cnt);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return cnt;
</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;'>+-static int cpp_jas_write (jas_stream_obj_t* obj, char* buf, int cnt)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static int cpp_jas_write (jas_stream_obj_t* obj, const char* buf, unsigned int cnt)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ std::ostream* stream = (std::ostream*) obj;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ stream->write (buf, cnt);
</span></pre><pre style='margin:0'>
</pre>