[111824] trunk/dports/audio/mpd

devans at macports.org devans at macports.org
Wed Oct 2 16:16:05 PDT 2013


Revision: 111824
          https://trac.macports.org/changeset/111824
Author:   devans at macports.org
Date:     2013-10-02 16:16:05 -0700 (Wed, 02 Oct 2013)
Log Message:
-----------
mpd: patch for compatibility with ffmpeg-2.0, closes #40605.

Modified Paths:
--------------
    trunk/dports/audio/mpd/Portfile

Added Paths:
-----------
    trunk/dports/audio/mpd/files/patch-ffmpeg-2.0.diff

Modified: trunk/dports/audio/mpd/Portfile
===================================================================
--- trunk/dports/audio/mpd/Portfile	2013-10-02 22:49:39 UTC (rev 111823)
+++ trunk/dports/audio/mpd/Portfile	2013-10-02 23:16:05 UTC (rev 111824)
@@ -22,6 +22,10 @@
 use_xz              yes
 checksums           rmd160  d9f143bfadb689da1c25bcde64949a7399ed1747 \
                     sha256  8f43562cf0d98f84c13745dfb7cfd08e66f2dbae9aa35268b130ab053b030200
+
+patchfiles \
+    patch-ffmpeg-2.0.diff
+
 depends_build       port:pkgconfig
 depends_lib \
     port:audiofile \

Added: trunk/dports/audio/mpd/files/patch-ffmpeg-2.0.diff
===================================================================
--- trunk/dports/audio/mpd/files/patch-ffmpeg-2.0.diff	                        (rev 0)
+++ trunk/dports/audio/mpd/files/patch-ffmpeg-2.0.diff	2013-10-02 23:16:05 UTC (rev 111824)
@@ -0,0 +1,13 @@
+--- src/decoder/ffmpeg_decoder_plugin.c.orig	2013-10-02 16:06:03.000000000 -0700
++++ src/decoder/ffmpeg_decoder_plugin.c	2013-10-02 16:07:13.000000000 -0700
+@@ -44,6 +44,10 @@
+ #include <libavutil/dict.h>
+ #endif
+ 
++#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
++#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
++#endif
++
+ #undef G_LOG_DOMAIN
+ #define G_LOG_DOMAIN "ffmpeg"
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131002/9ed691cc/attachment-0001.html>


More information about the macports-changes mailing list