commit: 38ac024d53d4f795ad65182e24cdfbf6cf89a064 Author: Pavel Kalugin <pavel <AT> pavelthebest <DOT> me> AuthorDate: Mon May 3 10:02:12 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Tue May 4 12:59:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38ac024d
media-gfx/flameshot: don't force using ccache - don't include cmake/Cache.cmake Reported-by: josef.95 <josef64 <AT> posteo.org> Closes: https://bugs.gentoo.org/787095 Signed-off-by: Pavel Kalugin <pavel <AT> pavelthebest.me> Closes: https://github.com/gentoo/gentoo/pull/20665 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> .../flameshot/files/flameshot-0.9.0-dont-force-ccache.patch | 13 +++++++++++++ media-gfx/flameshot/flameshot-0.9.0.ebuild | 1 + 2 files changed, 14 insertions(+) diff --git a/media-gfx/flameshot/files/flameshot-0.9.0-dont-force-ccache.patch b/media-gfx/flameshot/files/flameshot-0.9.0-dont-force-ccache.patch new file mode 100644 index 00000000000..85f43fc6c98 --- /dev/null +++ b/media-gfx/flameshot/files/flameshot-0.9.0-dont-force-ccache.patch @@ -0,0 +1,13 @@ +diff -ruN a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2021-05-03 12:55:07.561259897 +0300 ++++ b/CMakeLists.txt 2021-05-03 12:55:36.772461830 +0300 +@@ -70,9 +70,6 @@ + + add_library(project_warnings INTERFACE) + +-# enable cache system +-include(cmake/Cache.cmake) +- + # standard compiler warnings + include(cmake/CompilerWarnings.cmake) + # set_project_warnings(project_warnings) diff --git a/media-gfx/flameshot/flameshot-0.9.0.ebuild b/media-gfx/flameshot/flameshot-0.9.0.ebuild index 2f6c1bbbe3f..0b3b2178cb1 100644 --- a/media-gfx/flameshot/flameshot-0.9.0.ebuild +++ b/media-gfx/flameshot/flameshot-0.9.0.ebuild @@ -31,6 +31,7 @@ BDEPEND=" RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/${P}-unbundle-qtsingleapplication.patch" + "${FILESDIR}/${P}-dont-force-ccache.patch" ) src_prepare() {