summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2023-09-05 00:31:28 +0200
committerMarc Schiffbauer <mschiff@gentoo.org>2023-09-05 00:31:28 +0200
commitb34f26a768d3fb88053d9c165dfb8050f82dfa36 (patch)
tree1e5d13ce019f264c6b3a50a97a9549501fd8d163 /app-backup/bareos/files/bareos-21.1.2-no-automagic-ccache.patch
parentapp-editors/logseq-desktop-bin: add 0.9.15, drop 0.9.14 (diff)
downloadmschiff-b34f26a768d3fb88053d9c165dfb8050f82dfa36.tar.gz
mschiff-b34f26a768d3fb88053d9c165dfb8050f82dfa36.tar.bz2
mschiff-b34f26a768d3fb88053d9c165dfb8050f82dfa36.zip
app-backup/bareos: restore older version
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'app-backup/bareos/files/bareos-21.1.2-no-automagic-ccache.patch')
-rw-r--r--app-backup/bareos/files/bareos-21.1.2-no-automagic-ccache.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-backup/bareos/files/bareos-21.1.2-no-automagic-ccache.patch b/app-backup/bareos/files/bareos-21.1.2-no-automagic-ccache.patch
new file mode 100644
index 0000000..22cdc2a
--- /dev/null
+++ b/app-backup/bareos/files/bareos-21.1.2-no-automagic-ccache.patch
@@ -0,0 +1,25 @@
+--- a/core/CMakeLists.txt
++++ b/core/CMakeLists.txt
+@@ -44,12 +44,6 @@ set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME common)
+
+ include(GNUInstallDirs)
+
+-find_program(CCACHE_FOUND ccache)
+-if(CCACHE_FOUND)
+- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
+- set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
+-endif(CCACHE_FOUND)
+-
+ # switch on CXX 17 Support
+ #
+ set(CMAKE_CXX_STANDARD 17)
+@@ -584,9 +578,6 @@ message(STATUS "CMAKE_SUPPRESS_REGENERATION: " ${CMAKE_SUPPRESS_REGENERATION})
+ # A simple way to get switches to the compiler is to use ADD_DEFINITIONS(). But
+ # there are also two variables exactly for this purpose:
+
+-# wheter or not
+-message(STATUS "CCACHE_FOUND: " ${CCACHE_FOUND})
+-
+ # Choose the type of build. Example: SET(CMAKE_BUILD_TYPE Debug)
+ message(STATUS "CMAKE_BUILD_TYPE: " ${CMAKE_BUILD_TYPE})
+