summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Kalugin <pavel@pavelthebest.me>2021-05-03 13:02:12 +0300
committerJoonas Niilola <juippis@gentoo.org>2021-05-04 15:59:16 +0300
commit38ac024d53d4f795ad65182e24cdfbf6cf89a064 (patch)
treef2a4596878f2958c7434214a8e99a5b296943f18
parentapp-text/djvu: move inkscape and librsvg into BDEPEND. (diff)
downloadgentoo-38ac024d53d4f795ad65182e24cdfbf6cf89a064.tar.gz
gentoo-38ac024d53d4f795ad65182e24cdfbf6cf89a064.tar.bz2
gentoo-38ac024d53d4f795ad65182e24cdfbf6cf89a064.zip
media-gfx/flameshot: don't force using ccache
- don't include cmake/Cache.cmake Reported-by: josef.95 <josef64@posteo.org> Closes: https://bugs.gentoo.org/787095 Signed-off-by: Pavel Kalugin <pavel@pavelthebest.me> Closes: https://github.com/gentoo/gentoo/pull/20665 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--media-gfx/flameshot/files/flameshot-0.9.0-dont-force-ccache.patch13
-rw-r--r--media-gfx/flameshot/flameshot-0.9.0.ebuild1
2 files changed, 14 insertions, 0 deletions
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 000000000000..85f43fc6c98e
--- /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 2f6c1bbbe3f3..0b3b2178cb12 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() {