<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/ca5757804bee5b6b00b1df600ccfa2667cf9e019">https://github.com/macports/macports-ports/commit/ca5757804bee5b6b00b1df600ccfa2667cf9e019</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 ca57578 ices0: Fix build failure
</span>ca57578 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ca5757804bee5b6b00b1df600ccfa2667cf9e019
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Oct 14 11:53:10 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> ices0: Fix build failure
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fix build failure due to changed mp4v2 API.
</span>---
audio/ices0/files/patch-src-in_mp4.c.diff | 32 +++++++++++++++++++++++++++++--
1 file changed, 30 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/ices0/files/patch-src-in_mp4.c.diff b/audio/ices0/files/patch-src-in_mp4.c.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 2bbe073..6a8adf9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/ices0/files/patch-src-in_mp4.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/ices0/files/patch-src-in_mp4.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/in_mp4.c.orig 2004-07-30 21:35:29.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/in_mp4.c 2010-09-18 00:08:05.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/dcorbe/ices/commit/b1ad29219f360e6c3f4c8fa7c2651f77a58cc4d5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/in_mp4.c.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/in_mp4.c
</span> @@ -29,7 +29,7 @@
/* fink error? */
#define HAVE_IN_PORT_T 1
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,3 +10,30 @@
</span> #include <faad.h>
/* -- data structures -- */
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -68,7 +68,7 @@ ices_mp4_open (input_stream_t* self, char* buf, size_t len)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (! self->filesize)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if ((mp4file = MP4Read(self->path, 0)) == MP4_INVALID_FILE_HANDLE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if ((mp4file = MP4Read(self->path)) == MP4_INVALID_FILE_HANDLE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* find audio stream */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -135,7 +135,7 @@ ices_mp4_open (input_stream_t* self, char* buf, size_t len)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ errFAAC:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ faacDecClose(decoder);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ errMP4:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- MP4Close(mp4file);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4Close(mp4file, 0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -184,7 +184,7 @@ ices_mp4_close (input_stream_t* self)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mp4_in_t* mp4_data = (mp4_in_t*) self->data;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ faacDecClose(mp4_data->decoder);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- MP4Close(mp4_data->mp4file);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MP4Close(mp4_data->mp4file, 0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ free (mp4_data);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return 0;
</span></pre><pre style='margin:0'>
</pre>