summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter-Levine <plevine457@gmail.com>2017-05-08 19:11:18 -0400
committerDavid Seifert <soap@gentoo.org>2017-05-13 14:58:42 +0200
commit08a8afadaf8e533f60fbe0542dfea11db9c501a1 (patch)
tree7566a264b54e17b69734a05632f3e5980c11d31f /games-emulation/virtualjaguar/virtualjaguar-2.1.2-r2.ebuild
parentx11-misc/xaos: Remove old (diff)
downloadgentoo-08a8afadaf8e533f60fbe0542dfea11db9c501a1.tar.gz
gentoo-08a8afadaf8e533f60fbe0542dfea11db9c501a1.tar.bz2
gentoo-08a8afadaf8e533f60fbe0542dfea11db9c501a1.zip
games-emulation/virtualjaguar: Fix building with GCC-6
Bug: https://bugs.gentoo.org/show_bug.cgi?id=612830 Package-Manager: Portage-2.3.5, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4576
Diffstat (limited to 'games-emulation/virtualjaguar/virtualjaguar-2.1.2-r2.ebuild')
-rw-r--r--games-emulation/virtualjaguar/virtualjaguar-2.1.2-r2.ebuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/games-emulation/virtualjaguar/virtualjaguar-2.1.2-r2.ebuild b/games-emulation/virtualjaguar/virtualjaguar-2.1.2-r2.ebuild
index 59c43c743cc3..d620d15ffa1c 100644
--- a/games-emulation/virtualjaguar/virtualjaguar-2.1.2-r2.ebuild
+++ b/games-emulation/virtualjaguar/virtualjaguar-2.1.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -26,13 +26,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${PN}
-pkg_pretend() {
- local ver=4.4
-
- if tc-is-gcc && ! version_is_at_least ${ver} $(gcc-version); then
- die "${PN} needs at least gcc ${ver} selected to compile."
- fi
-}
+PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
src_prepare() {
default