svn commit: r468737 - head/audio/aubio

Jan Beich jbeich at FreeBSD.org
Mon Apr 30 18:48:05 UTC 2018


Author: jbeich
Date: Mon Apr 30 18:48:04 2018
New Revision: 468737
URL: https://svnweb.freebsd.org/changeset/ports/468737

Log:
  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

Modified:
  head/audio/aubio/Makefile   (contents, props changed)
  head/audio/aubio/distinfo   (contents, props changed)

Modified: head/audio/aubio/Makefile
==============================================================================
--- head/audio/aubio/Makefile	Mon Apr 30 18:39:42 2018	(r468736)
+++ head/audio/aubio/Makefile	Mon Apr 30 18:48:04 2018	(r468737)
@@ -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 at FreeBSD.org
 COMMENT?=	Library for audio labelling
 

Modified: head/audio/aubio/distinfo
==============================================================================
--- head/audio/aubio/distinfo	Mon Apr 30 18:39:42 2018	(r468736)
+++ head/audio/aubio/distinfo	Mon Apr 30 18:48:04 2018	(r468737)
@@ -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


More information about the svn-ports-head mailing list