<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a9f6218e1e07e868bc0742699d3bd796d8b2104b">https://github.com/macports/macports-ports/commit/a9f6218e1e07e868bc0742699d3bd796d8b2104b</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 a9f6218e1e0 octave-video: update to 2.0.0
</span>a9f6218e1e0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a9f6218e1e07e868bc0742699d3bd796d8b2104b
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Wed Dec 23 10:02:09 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> octave-video: update to 2.0.0
</span>---
math/octave-video/Portfile | 15 +++++--------
math/octave-video/files/patch-ffmpeg-4.0.diff | 13 -----------
math/octave-video/files/patch-octave5.diff | 14 ------------
.../files/patch-src-cap_ffmpeg_impl_ov.hpp.diff | 26 ++++++++++++++++++++++
4 files changed, 32 insertions(+), 36 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave-video/Portfile b/math/octave-video/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6048fdbf830..47bc7476265 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/octave-video/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/octave-video/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,8 +3,8 @@
</span> PortSystem 1.0
PortGroup octave 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-octave.setup video 1.2.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+octave.setup video 2.0.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> platforms darwin
license FreeBSD
maintainers {mps @Schamschula} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,13 +12,10 @@ description A wrapper for ffmpeg's libavformat and libavcodec, implement
</span> addframe, avifile, aviinfo, and aviread
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 2aa0bebfc8dfea08f29fb7bfd85777b5b7a34ead \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 69af2f5b7c9d96318d5528b150ec8aa12873e974bd16c714698a8558c5aee339 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 53044
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 0e0212516c684495e37e499dc071c77851caa65b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 3b5724281f9059cfb2678eac03ec0bde2b269568761f4d105cda16d8081bd268 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 61998
</span>
depends_lib-append path:lib/libavcodec.dylib:ffmpeg
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# compensate for FFmpeg 4 changes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# compensate for Octave 5 changes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-ffmpeg-4.0.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-octave5.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-src-cap_ffmpeg_impl_ov.hpp.diff
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave-video/files/patch-ffmpeg-4.0.diff b/math/octave-video/files/patch-ffmpeg-4.0.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 5cc4947e7df..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/octave-video/files/patch-ffmpeg-4.0.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,13 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/AVHandler.cc.orig 2018-04-23 15:45:39.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/AVHandler.cc 2018-04-23 15:47:42.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -243,8 +243,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- codec_name = codec->name;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // We can handle truncated bitstreams
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if (codec->capabilities & CODEC_CAP_TRUNCATED)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- vstream->codec->flags |= CODEC_FLAG_TRUNCATED;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (codec->capabilities & AV_CODEC_CAP_TRUNCATED)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ vstream->codec->flags |= AV_CODEC_FLAG_TRUNCATED;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (avcodec_open2(vstream->codec, codec, NULL) < 0)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave-video/files/patch-octave5.diff b/math/octave-video/files/patch-octave5.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 8cf032738f7..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/octave-video/files/patch-octave5.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/aviinfo.cc.orig 2017-05-28 07:27:02.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/aviinfo.cc 2019-03-09 08:50:19.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -39,9 +39,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // remove -Wno-deprecated-delarations from src/Makefile.in; remember
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // to adjust 'Depends' to Octave >= 4.2 in DESCRIPTION)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- octave_time file_mod = file_stat (fn).mtime ();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ octave::sys::time file_mod = octave::sys::file_stat (fn).mtime ();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- return octave_localtime (file_mod).strftime ("%d-%b-%Y %H:%M:%S");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return octave::sys::localtime (file_mod).strftime ("%d-%b-%Y %H:%M:%S");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- DEFUN_DLD(aviinfo, args, ,
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave-video/files/patch-src-cap_ffmpeg_impl_ov.hpp.diff b/math/octave-video/files/patch-src-cap_ffmpeg_impl_ov.hpp.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..a2d152c3ec9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/octave-video/files/patch-src-cap_ffmpeg_impl_ov.hpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,26 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# HG changeset patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# User Markus Mützel <markus.muetzel@gmx.de>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Date 1608713017 -3600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Wed Dec 23 09:43:37 2020 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Node ID e4ca93f1d31cf4a38149fddc592c4a0814ca2be4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Parent 0cb8f61db7e2dfbbca0f7d2609cfd35125e2f95f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix compilation on MacOS (bug #57938).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+* cap_ffmpeg_impl_ov.hpp: Avoid including a header that shadows the declaration
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of an Octave function (panic).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff -r 0cb8f61db7e2 -r e4ca93f1d31c src/cap_ffmpeg_impl_ov.hpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/cap_ffmpeg_impl_ov.hpp Sat Feb 29 20:17:46 2020 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/cap_ffmpeg_impl_ov.hpp Wed Dec 23 09:43:37 2020 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -136,7 +136,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/sysctl.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <mach/clock.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #include <mach/mach.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #include <mach/mach_host.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #include <mach/mach_init.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #include <mach/mach_traps.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #include <mach/mach_port.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>