svn commit: r331341 - in head/audio/alsa-plugins: . files
William Grzybowski
wg at FreeBSD.org
Wed Oct 23 00:30:15 UTC 2013
Author: wg
Date: Wed Oct 23 00:30:15 2013
New Revision: 331341
URL: http://svnweb.freebsd.org/changeset/ports/331341
Log:
audio/alsa-plugins: fix build with newer ffmpeg
- Fix build with newer ffmpeg
Reported by: Kevin Oberman <rkoberman gmail.com>
Approved by: portmgr (bapt, implicit)
Added:
head/audio/alsa-plugins/files/patch-ffmpeg-version (contents, props changed)
Modified:
head/audio/alsa-plugins/Makefile
Modified: head/audio/alsa-plugins/Makefile
==============================================================================
--- head/audio/alsa-plugins/Makefile Wed Oct 23 00:19:37 2013 (r331340)
+++ head/audio/alsa-plugins/Makefile Wed Oct 23 00:30:15 2013 (r331341)
@@ -3,6 +3,7 @@
PORTNAME= alsa-plugins
PORTVERSION= 1.0.27
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ALSA/plugins \
GENTOO/distfiles
Added: head/audio/alsa-plugins/files/patch-ffmpeg-version
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/alsa-plugins/files/patch-ffmpeg-version Wed Oct 23 00:30:15 2013 (r331341)
@@ -0,0 +1,13 @@
+Index: a52/pcm_a52.c
+===================================================================
+--- a52/pcm_a52.c
++++ a52/pcm_a52.c
+@@ -27,7 +27,7 @@
+ #include <alsa/pcm_plugin.h>
+ #include AVCODEC_HEADER
+
+-#if LIBAVCODEC_VERSION_MAJOR >= 53 && LIBAVCODEC_VERSION_MINOR >= 34
++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53,34,0)
+ #include <libavutil/audioconvert.h>
+ #include <libavutil/mem.h>
+ #define USE_AVCODEC_FRAME
More information about the svn-ports-all
mailing list