summaryrefslogtreecommitdiff
path: root/games-emulation/libretro-snes9x/libretro-snes9x-0.0.2_pre20200107.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/libretro-snes9x/libretro-snes9x-0.0.2_pre20200107.ebuild')
-rw-r--r--games-emulation/libretro-snes9x/libretro-snes9x-0.0.2_pre20200107.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/games-emulation/libretro-snes9x/libretro-snes9x-0.0.2_pre20200107.ebuild b/games-emulation/libretro-snes9x/libretro-snes9x-0.0.2_pre20200107.ebuild
index e96b4cd5b53b..80a05e3fd38d 100644
--- a/games-emulation/libretro-snes9x/libretro-snes9x-0.0.2_pre20200107.ebuild
+++ b/games-emulation/libretro-snes9x/libretro-snes9x-0.0.2_pre20200107.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
@@ -15,3 +15,11 @@ DESCRIPTION="Snes9x libretro port"
LICENSE="Snes9x GPL-2 GPL-2+ LGPL-2.1 LGPL-2.1+ ISC MIT ZLIB Info-ZIP"
RESTRICT="bindist"
SLOT="0"
+
+src_prepare() {
+ cd .. || die
+ eapply "${FILESDIR}"/${PN}-0.0.2_pre20200107-gcc11-const.patch
+ cd "${S}" || die
+
+ libretro-core_src_prepare
+}