summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {