summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2022-01-01 19:25:33 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2022-01-01 19:27:16 +0100
commit7bc3e53fa241aea8d83673da95d9665f22fdecee (patch)
treefc999228c5c2311a04a4f1eb5364aa6abb429477 /games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
parentdev-python/pytest-django: Stabilize 4.5.2 ALLARCHES, #830412 (diff)
downloadgentoo-7bc3e53fa241aea8d83673da95d9665f22fdecee.tar.gz
gentoo-7bc3e53fa241aea8d83673da95d9665f22fdecee.tar.bz2
gentoo-7bc3e53fa241aea8d83673da95d9665f22fdecee.zip
games-emulation/dosbox-staging: add upstream fix for failing tests
With some compilers/linkers, dosbox main() function would be used in tests instead of gmock's one Closes: https://bugs.gentoo.org/830237 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild')
-rw-r--r--games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
index 35528cd3b10a..ec44d977dad6 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -35,6 +35,8 @@ BDEPEND="test? ( dev-cpp/gtest )"
DOCS=( AUTHORS README THANKS )
+PATCHES=( "${FILESDIR}"/${P}-fix_tests.patch )
+
src_prepare() {
default