summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-21 17:18:31 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-21 17:19:15 +0200
commit4dca9d042d3d4d8bc3a71bdcae8e7544c39f1590 (patch)
tree8017aeee0d921a739ba915014772a9b5be23d26e /games-emulation/mupen64plus-core
parentxfce-base/libxfce4ui: add riscv keyword (diff)
downloadgentoo-4dca9d042d3d4d8bc3a71bdcae8e7544c39f1590.tar.gz
gentoo-4dca9d042d3d4d8bc3a71bdcae8e7544c39f1590.tar.bz2
gentoo-4dca9d042d3d4d8bc3a71bdcae8e7544c39f1590.zip
games-emulation/mupen64plus-core: Fix building against opencv-4
Closes: https://bugs.gentoo.org/790380 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-emulation/mupen64plus-core')
-rw-r--r--games-emulation/mupen64plus-core/mupen64plus-core-2.5.9-r2.ebuild4
1 files changed, 3 insertions, 1 deletions
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 21de520cdfe3..459fd3cd6239 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() {