summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2023-08-09 10:34:19 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2023-08-09 10:34:37 +0200
commit92bc45e1fa8f2992404520d5b4d06c1d6752c94f (patch)
tree155790b596bdae0b275e4ba47fbae0755e873131 /media-gfx
parentwww-client/firefox: drop 115.0.2 (diff)
downloadgentoo-92bc45e1fa8f2992404520d5b4d06c1d6752c94f.tar.gz
gentoo-92bc45e1fa8f2992404520d5b4d06c1d6752c94f.tar.bz2
gentoo-92bc45e1fa8f2992404520d5b4d06c1d6752c94f.zip
media-gfx/freecad: updated ccache patch in live ebuild
Closes: https://bugs.gentoo.org/911409 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/freecad/files/freecad-0.21.0-0001-Gentoo-specific-disable-ccache-usage.patch11
-rw-r--r--media-gfx/freecad/freecad-9999.ebuild2
2 files changed, 12 insertions, 1 deletions
diff --git a/media-gfx/freecad/files/freecad-0.21.0-0001-Gentoo-specific-disable-ccache-usage.patch b/media-gfx/freecad/files/freecad-0.21.0-0001-Gentoo-specific-disable-ccache-usage.patch
new file mode 100644
index 000000000000..dddacfb289ef
--- /dev/null
+++ b/media-gfx/freecad/files/freecad-0.21.0-0001-Gentoo-specific-disable-ccache-usage.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -16,7 +16,7 @@ else()
+ option(FREECAD_USE_CCACHE "Auto detect and use ccache during compilation" ON)
+ endif()
+
+-if(FREECAD_USE_CCACHE)
++if(OFF)
+ find_program(CCACHE_PROGRAM ccache) #This check should occur before project()
+ if(CCACHE_PROGRAM)
+ set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
diff --git a/media-gfx/freecad/freecad-9999.ebuild b/media-gfx/freecad/freecad-9999.ebuild
index ce6c3efe2731..3c44e3745979 100644
--- a/media-gfx/freecad/freecad-9999.ebuild
+++ b/media-gfx/freecad/freecad-9999.ebuild
@@ -136,7 +136,7 @@ REQUIRED_USE="
PATCHES=(
"${FILESDIR}"/${PN}-9999-Gentoo-specific-don-t-check-vcs.patch
- "${FILESDIR}"/${PN}-0.19.1-0001-Gentoo-specific-Remove-ccache-usage.patch
+ "${FILESDIR}"/${PN}-0.21.0-0001-Gentoo-specific-disable-ccache-usage.patch
"${FILESDIR}"/${PN}-9999-tests-src-Qt-only-build-test-for-BUILD_GUI-ON.patch
)