diff options
author | jbeich <jbeich@FreeBSD.org> | 2018-05-01 02:48:04 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2018-05-01 02:48:04 +0800 |
commit | 8815d8e0b4a5a23a902d55ea962a0667069c7e78 (patch) | |
tree | cb9f2932b51d11730d7365082520762e4b0ce7bb /audio | |
parent | 2a990806d2605d4d364c989186b1d3a487842f02 (diff) | |
download | freebsd-ports-gnome-8815d8e0b4a5a23a902d55ea962a0667069c7e78.tar.gz freebsd-ports-gnome-8815d8e0b4a5a23a902d55ea962a0667069c7e78.tar.zst freebsd-ports-gnome-8815d8e0b4a5a23a902d55ea962a0667069c7e78.zip |
audio/aubio: unbreak with ffmpeg 4.0
../src/io/source_avcodec.c:262:35: error: use of undeclared identifier 'FF_MIN_BUFFER_SIZE'
s->output = (smpl_t *)av_malloc(AUBIO_AVCODEC_MAX_BUFFER_SIZE * sizeof(smpl_t));
^
../src/io/source_avcodec.c:61:39: note: expanded from macro 'AUBIO_AVCODEC_MAX_BUFFER_SIZE'
#define AUBIO_AVCODEC_MAX_BUFFER_SIZE FF_MIN_BUFFER_SIZE
^
../src/io/source_avcodec.c:360:25: error: use of undeclared identifier 'FF_MIN_BUFFER_SIZE'
int max_out_samples = AUBIO_AVCODEC_MAX_BUFFER_SIZE / avCodecCtx->channels;
^
../src/io/source_avcodec.c:61:39: note: expanded from macro 'AUBIO_AVCODEC_MAX_BUFFER_SIZE'
#define AUBIO_AVCODEC_MAX_BUFFER_SIZE FF_MIN_BUFFER_SIZE
^
../src/io/source_avcodec.c:434:21: error: use of undeclared identifier 'FF_MIN_BUFFER_SIZE'
max_out_samples = AUBIO_AVCODEC_MAX_BUFFER_SIZE / avCodecCtx->channels;
^
../src/io/source_avcodec.c:61:39: note: expanded from macro 'AUBIO_AVCODEC_MAX_BUFFER_SIZE'
#define AUBIO_AVCODEC_MAX_BUFFER_SIZE FF_MIN_BUFFER_SIZE
^
PR: 227726
Reported by: antoine (via exp-run)
Obtained from: upstream
Diffstat (limited to 'audio')
-rw-r--r-- | audio/aubio/Makefile | 3 | ||||
-rw-r--r-- | audio/aubio/distinfo | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/audio/aubio/Makefile b/audio/aubio/Makefile index 0107b5387741..f3f26fbb5f45 100644 --- a/audio/aubio/Makefile +++ b/audio/aubio/Makefile @@ -7,6 +7,9 @@ PORTREVISION?= 0 CATEGORIES?= audio MASTER_SITES= http://aubio.org/pub/ +PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/ +PATCHFILES= 5690daf759b4.patch:-p1 + MAINTAINER?= jhale@FreeBSD.org COMMENT?= Library for audio labelling diff --git a/audio/aubio/distinfo b/audio/aubio/distinfo index 1d78fd853412..9d9f4a5be1d0 100644 --- a/audio/aubio/distinfo +++ b/audio/aubio/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1517043034 SHA256 (aubio-0.4.6.tar.bz2) = bdc73be1f007218d3ea6d2a503b38a217815a0e2ccc4ed441f6e850ed5d47cfb SIZE (aubio-0.4.6.tar.bz2) = 363016 +SHA256 (5690daf759b4.patch) = 6fd463e812361a7ddb81440babfe00c5aacfb5e08a62897067d0f4019e048cc1 +SIZE (5690daf759b4.patch) = 741 |