diff options
Diffstat (limited to 'games-engines/devilutionx')
3 files changed, 21 insertions, 2 deletions
diff --git a/games-engines/devilutionx/devilutionx-1.2.1-r1.ebuild b/games-engines/devilutionx/devilutionx-1.2.1-r1.ebuild index 9dd19f639bcb..2a2abba3eba0 100644 --- a/games-engines/devilutionx/devilutionx-1.2.1-r1.ebuild +++ b/games-engines/devilutionx/devilutionx-1.2.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -41,6 +41,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${PN}-1.2.0_pre-no_bundled_font.patch" #704508 + "${FILESDIR}/${PN}-1.2.1-disable-ccache.patch" #813768 ) DOCS=( docs/CHANGELOG.md ) diff --git a/games-engines/devilutionx/devilutionx-9999.ebuild b/games-engines/devilutionx/devilutionx-9999.ebuild index 9dd19f639bcb..2a2abba3eba0 100644 --- a/games-engines/devilutionx/devilutionx-9999.ebuild +++ b/games-engines/devilutionx/devilutionx-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -41,6 +41,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${PN}-1.2.0_pre-no_bundled_font.patch" #704508 + "${FILESDIR}/${PN}-1.2.1-disable-ccache.patch" #813768 ) DOCS=( docs/CHANGELOG.md ) diff --git a/games-engines/devilutionx/files/devilutionx-1.2.1-disable-ccache.patch b/games-engines/devilutionx/files/devilutionx-1.2.1-disable-ccache.patch new file mode 100644 index 000000000000..a89b53e63d34 --- /dev/null +++ b/games-engines/devilutionx/files/devilutionx-1.2.1-disable-ccache.patch @@ -0,0 +1,17 @@ +We let users enable ccache by themselves. Avoids sandbox violation. + +https://bugs.gentoo.org/813768 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -54,11 +54,6 @@ if(NOT VERSION_NUM) + endif() + endif() + +-find_program(CCACHE_PROGRAM ccache) +-if(CCACHE_PROGRAM) +- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}") +-endif() +- + if(VERSION_NUM MATCHES untagged) + project(DevilutionX + LANGUAGES C CXX) |