From 40043d4962e06a2ca87fd97b06e837b8302d0490 Mon Sep 17 00:00:00 2001 From: Yixun Lan Date: Mon, 5 Dec 2016 15:56:14 +0800 Subject: media-libs/libde265: fix PIX_FMT_YUV420P undefined err Gentoo-Bug: 575554 Package-Manager: portage-2.3.2 --- media-libs/libde265/libde265-1.0.2.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'media-libs/libde265') diff --git a/media-libs/libde265/libde265-1.0.2.ebuild b/media-libs/libde265/libde265-1.0.2.ebuild index 7b52f0011412..e13236350412 100644 --- a/media-libs/libde265/libde265-1.0.2.ebuild +++ b/media-libs/libde265/libde265-1.0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -27,6 +27,11 @@ RDEPEND="${DEPEND}" REQUIRED_USE="tools? ( || ( qt4 qt5 ) )" +src_prepare() { + sed -ri 's/(PIX_FMT_)/AV_\1/g' sherlock265/VideoDecoder.cc || die + autotools-multilib_src_prepare +} + src_configure() { local myeconfargs=( $(use_enable cpu_flags_x86_sse sse) -- cgit v1.2.3-65-gdbad