From: Nick Hainke <vincent@systemli.org>
Date: Mon, 10 Jun 2024 10:31:49 +0000 (+0200)
Subject: tools/ccache: update to 4.10.0
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ac2722cb02201a81b9b76ca84ae2067ce0c7791a;p=openwrt%2Fstaging%2Fneocturne.git

tools/ccache: update to 4.10.0

Release Notes:
https://ccache.dev/releasenotes.html#_ccache_4_10

Refresh patch:
- 100-honour-copts.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
---

diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile
index cd2c6d27d5..47c24a5c98 100644
--- a/tools/ccache/Makefile
+++ b/tools/ccache/Makefile
@@ -7,11 +7,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ccache
-PKG_VERSION:=4.9.1
+PKG_VERSION:=4.10
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)
-PKG_HASH:=12834ecaaaf2db069dda1d1d991f91c19e3274cc04a471af5b64195def17e90f
+PKG_HASH:=16972ba62c8499045edc3ae7d7b8a0b419a961567f5ff0f01bf5a44194204775
 
 include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/cmake.mk
diff --git a/tools/ccache/patches/100-honour-copts.patch b/tools/ccache/patches/100-honour-copts.patch
index 8f1c426501..a40665ea25 100644
--- a/tools/ccache/patches/100-honour-copts.patch
+++ b/tools/ccache/patches/100-honour-copts.patch
@@ -1,6 +1,6 @@
---- a/src/ccache.cpp
-+++ b/src/ccache.cpp
-@@ -1841,6 +1841,7 @@ get_manifest_key(Context& ctx, Hash& has
+--- a/src/ccache/ccache.cpp
++++ b/src/ccache/ccache.cpp
+@@ -1906,6 +1906,7 @@ get_manifest_key(Context& ctx, Hash& has
      "OBJCPLUS_INCLUDE_PATH",        // Clang
      "CLANG_CONFIG_FILE_SYSTEM_DIR", // Clang
      "CLANG_CONFIG_FILE_USER_DIR",   // Clang