From 4dca9d042d3d4d8bc3a71bdcae8e7544c39f1590 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 21 May 2021 17:18:31 +0200 Subject: [PATCH] games-emulation/mupen64plus-core: Fix building against opencv-4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/790380 Signed-off-by: Michał Górny --- .../mupen64plus-core/mupen64plus-core-2.5.9-r2.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/games-emulation/mupen64plus-core/mupen64plus-core-2.5.9-r2.ebuild b/games-emulation/mupen64plus-core/mupen64plus-core-2.5.9-r2.ebuild index 21de520cdfe30..459fd3cd62390 100644 --- a/games-emulation/mupen64plus-core/mupen64plus-core-2.5.9-r2.ebuild +++ b/games-emulation/mupen64plus-core/mupen64plus-core-2.5.9-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -42,6 +42,8 @@ src_prepare() { # avoid implicitly appending CPU flags sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die + # fix building against opencv-4 + sed -i -e '/PKG_CONFIG/s:opencv:&4:' projects/unix/Makefile || die } src_compile() {