<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/45ee320ea855d956edfd6da550daa9047ee897b4">https://github.com/macports/macports-ports/commit/45ee320ea855d956edfd6da550daa9047ee897b4</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 45ee320ea855d956edfd6da550daa9047ee897b4
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Wed Apr 25 11:04:15 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> libpiano, pianobar: patch for and rebuild with ffmpeg 4.0
</span>---
audio/pianobar/Portfile | 5 +++--
audio/pianobar/files/patch-ffmpeg-4.0.diff | 20 ++++++++++++++++++++
2 files changed, 23 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/pianobar/Portfile b/audio/pianobar/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fd422ce..4b8159a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/pianobar/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/pianobar/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup github 1.0
github.setup PromyLOPh pianobar 2017.08.30
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories audio
platforms darwin
maintainers {ryandesign @ryandesign} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -63,5 +63,6 @@ subport libpiano {
</span> }
platform darwin {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-Makefile.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-ffmpeg-4.0.diff
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/pianobar/files/patch-ffmpeg-4.0.diff b/audio/pianobar/files/patch-ffmpeg-4.0.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fef6b02
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/pianobar/files/patch-ffmpeg-4.0.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/player.h.orig 2018-04-25 14:15:44.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/player.h 2018-04-25 14:15:58.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -34,7 +34,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <ao/ao.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <libavformat/avformat.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <libavfilter/avfilter.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <libavfilter/avfiltergraph.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <piano.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "settings.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/player.c.orig 2018-04-25 14:00:42.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/player.c 2018-04-25 14:01:58.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -36,7 +36,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <libavcodec/avcodec.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <libavutil/avutil.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <libavfilter/avfilter.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <libavfilter/avfiltergraph.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <libavfilter/buffersink.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <libavfilter/buffersrc.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef HAVE_LIBAVFILTER_AVCODEC_H
</span></pre><pre style='margin:0'>
</pre>