From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C7FE21382C5 for ; Fri, 20 Apr 2018 18:12:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D315EE08ED; Fri, 20 Apr 2018 18:12:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B0B43E08ED for ; Fri, 20 Apr 2018 18:12:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F6CF335C78 for ; Fri, 20 Apr 2018 18:12:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 423E728D for ; Fri, 20 Apr 2018 18:12:04 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1524247916.cc722585c1aa2e0d59093d53c8f466e51ae8aa60.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/files/, media-libs/aubio/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/aubio/aubio-0.4.6.ebuild media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch X-VCS-Directories: media-libs/aubio/files/ media-libs/aubio/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: cc722585c1aa2e0d59093d53c8f466e51ae8aa60 X-VCS-Branch: master Date: Fri, 20 Apr 2018 18:12:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3c5e71dc-582f-4bce-b64a-88f261ee2f50 X-Archives-Hash: 14a580fe6e68eaa44342d0bf34a3a24d commit: cc722585c1aa2e0d59093d53c8f466e51ae8aa60 Author: Alexis Ballier gentoo org> AuthorDate: Fri Apr 20 14:51:11 2018 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Fri Apr 20 18:11:56 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc722585 media-libs/aubio: fix build with ffmpeg4 Package-Manager: Portage-2.3.31, Repoman-2.3.9 media-libs/aubio/aubio-0.4.6.ebuild | 3 ++- media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/media-libs/aubio/aubio-0.4.6.ebuild b/media-libs/aubio/aubio-0.4.6.ebuild index c02467cd6e7..9c6af6537ba 100644 --- a/media-libs/aubio/aubio-0.4.6.ebuild +++ b/media-libs/aubio/aubio-0.4.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -40,6 +40,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" DOCS=( AUTHORS ChangeLog README.md ) PYTHON_SRC_DIR="${S}" +PATCHES=( "${FILESDIR}/${PN}-0.4.6-ffmpeg4.patch" ) src_prepare() { default diff --git a/media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch b/media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch new file mode 100644 index 00000000000..7df4665655b --- /dev/null +++ b/media-libs/aubio/files/aubio-0.4.6-ffmpeg4.patch @@ -0,0 +1,13 @@ +Index: aubio-0.4.6/src/io/source_avcodec.c +=================================================================== +--- aubio-0.4.6.orig/src/io/source_avcodec.c ++++ aubio-0.4.6/src/io/source_avcodec.c +@@ -58,7 +58,7 @@ + #include "fmat.h" + #include "source_avcodec.h" + +-#define AUBIO_AVCODEC_MAX_BUFFER_SIZE FF_MIN_BUFFER_SIZE ++#define AUBIO_AVCODEC_MAX_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE + + struct _aubio_source_avcodec_t { + uint_t hop_size;