summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-10-23 00:30:15 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-10-23 00:30:15 +0000
commit98bfd022496664398e2afaec0241b00975f96ecb (patch)
treed3f2c0f9bbead34e283a035ba9af966a4b1086ad /audio
parent- Change maintainer email to @FreeBSD.org (diff)
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)
Notes
Notes: svn path=/head/; revision=331341
Diffstat (limited to 'audio')
-rw-r--r--audio/alsa-plugins/Makefile1
-rw-r--r--audio/alsa-plugins/files/patch-ffmpeg-version13
2 files changed, 14 insertions, 0 deletions
diff --git a/audio/alsa-plugins/Makefile b/audio/alsa-plugins/Makefile
index e982af5952ea..8b7f9fefe86e 100644
--- a/audio/alsa-plugins/Makefile
+++ b/audio/alsa-plugins/Makefile
@@ -3,6 +3,7 @@
PORTNAME= alsa-plugins
PORTVERSION= 1.0.27
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ALSA/plugins \
GENTOO/distfiles
diff --git a/audio/alsa-plugins/files/patch-ffmpeg-version b/audio/alsa-plugins/files/patch-ffmpeg-version
new file mode 100644
index 000000000000..f8cdb292280a
--- /dev/null
+++ b/audio/alsa-plugins/files/patch-ffmpeg-version
@@ -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