From owner-svn-ports-head@freebsd.org Mon Apr 30 18:48:05 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A00BFB3615; Mon, 30 Apr 2018 18:48:05 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F21787389; Mon, 30 Apr 2018 18:48:05 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 22FA517100; Mon, 30 Apr 2018 18:48:05 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3UIm4GD060307; Mon, 30 Apr 2018 18:48:04 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3UIm4bU060305; Mon, 30 Apr 2018 18:48:04 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201804301848.w3UIm4bU060305@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 30 Apr 2018 18:48:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468737 - head/audio/aubio X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/audio/aubio X-SVN-Commit-Revision: 468737 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 18:48:05 -0000 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@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