diff options
author | Bernd Waibel <waebbl@gmail.com> | 2020-04-19 20:44:54 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-06-12 09:59:45 +0300 |
commit | 8dfc7b2d0c0cc3d01d08ec9dc7885be394334a50 (patch) | |
tree | 3b7cca515acbe35289948dbd1e0a70ae9cfce21e /media-gfx/openscad/files/openscad-2019.05-0002-Gentoo-specific-Disable-ccache-building.patch | |
parent | app-misc/anki: bump to 2.1.15 and modernize ebuild (diff) | |
download | gentoo-8dfc7b2d0c0cc3d01d08ec9dc7885be394334a50.tar.gz gentoo-8dfc7b2d0c0cc3d01d08ec9dc7885be394334a50.tar.bz2 gentoo-8dfc7b2d0c0cc3d01d08ec9dc7885be394334a50.zip |
media-gfx/openscad: Fix build with boost-1.73.0
Thanks to William T Wilson for reporting and providing patch.
Additionally OpenSCAD has an optional, but automagic dependency on
media-libs/lib3mf.
Add ccache USE flag, as it's automagically enabled whenever the ccache
binary is found in PATH.
Reported-by: William T Wilson <fluffysheap@gmail.com>
Closes: https://bugs.gentoo.org/722302
Package-Manager: Portage-2.3.99-r2, Repoman-2.3.22
Signed-off-by: Bernd Waibel <waebbl@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/openscad/files/openscad-2019.05-0002-Gentoo-specific-Disable-ccache-building.patch')
-rw-r--r-- | media-gfx/openscad/files/openscad-2019.05-0002-Gentoo-specific-Disable-ccache-building.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/media-gfx/openscad/files/openscad-2019.05-0002-Gentoo-specific-Disable-ccache-building.patch b/media-gfx/openscad/files/openscad-2019.05-0002-Gentoo-specific-Disable-ccache-building.patch new file mode 100644 index 000000000000..1a4903828e80 --- /dev/null +++ b/media-gfx/openscad/files/openscad-2019.05-0002-Gentoo-specific-Disable-ccache-building.patch @@ -0,0 +1,35 @@ +From 2940d8e5c74faa5dcd5279c8166064ade3da5695 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl@gmail.com> +Date: Sun, 17 May 2020 21:13:44 +0200 +Subject: [PATCH] [Gentoo-specific] Disable ccache building + +On Gentoo we use a USE flag to determine whether to use +ccache for building or not. + +Signed-off-by: Bernd Waibel <waebbl@gmail.com> +--- + openscad.pro | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/openscad.pro b/openscad.pro +index 2d190dd..9c4e67b 100755 +--- a/openscad.pro ++++ b/openscad.pro +@@ -214,10 +214,10 @@ mdi { + DEFINES += ENABLE_MDI + } + +-system("ccache -V >/dev/null 2>/dev/null") { +- CONFIG += ccache +- message("Using ccache") +-} ++#system("ccache -V >/dev/null 2>/dev/null") { ++# CONFIG += ccache ++# message("Using ccache") ++#} + + include(common.pri) + +-- +2.26.2 + |