[125496] trunk/dports/multimedia/VLC
devans at macports.org
devans at macports.org
Thu Sep 18 13:57:05 PDT 2014
Revision: 125496
https://trac.macports.org/changeset/125496
Author: devans at macports.org
Date: 2014-09-18 13:57:05 -0700 (Thu, 18 Sep 2014)
Log Message:
-----------
VLC: patch for ffmpeg 2.4 compatibility, increment revision to rebuild.
Modified Paths:
--------------
trunk/dports/multimedia/VLC/Portfile
Added Paths:
-----------
trunk/dports/multimedia/VLC/files/patch-ffmpeg-2.4.diff
Modified: trunk/dports/multimedia/VLC/Portfile
===================================================================
--- trunk/dports/multimedia/VLC/Portfile 2014-09-18 20:55:08 UTC (rev 125495)
+++ trunk/dports/multimedia/VLC/Portfile 2014-09-18 20:57:05 UTC (rev 125496)
@@ -6,6 +6,7 @@
name VLC
version 2.1.5
+revision 1
categories multimedia
maintainers nomaintainer
@@ -74,7 +75,8 @@
class_struct.patch \
qtkit.patch \
static_assert.patch \
- no-sparkle.patch
+ no-sparkle.patch \
+ patch-ffmpeg-2.4.diff
post-patch {
reinplace "s:librsvg-2/librsvg:librsvg:" \
Added: trunk/dports/multimedia/VLC/files/patch-ffmpeg-2.4.diff
===================================================================
--- trunk/dports/multimedia/VLC/files/patch-ffmpeg-2.4.diff (rev 0)
+++ trunk/dports/multimedia/VLC/files/patch-ffmpeg-2.4.diff 2014-09-18 20:57:05 UTC (rev 125496)
@@ -0,0 +1,12 @@
+--- configure.ac.orig 2014-09-18 08:28:55.000000000 -0700
++++ configure.ac 2014-09-18 08:30:11.000000000 -0700
+@@ -2221,9 +2221,6 @@
+ [ --enable-avcodec libavcodec codec (default enabled)])
+ AS_IF([test "${enable_avcodec}" != "no"], [
+ PKG_CHECK_MODULES(AVCODEC,[libavcodec >= 53.34.0 libavutil >= 51.22.0], [
+- PKG_CHECK_EXISTS([libavcodec < 56],, [
+- AC_MSG_ERROR([libavcodec versions 56 and later are not supported yet.])
+- ])
+ VLC_SAVE_FLAGS
+ CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}"
+ CFLAGS="${CFLAGS} ${AVCODEC_CFLAGS}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140918/dcd3a6d1/attachment.html>
More information about the macports-changes
mailing list