From f57b1640c14556cfbed5bda5ac0d78b05e7bcca1 Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@yoctoproject.org>
Date: Thu, 15 Feb 2024 06:48:10 +0000
Subject: [PATCH] ccache: upgrade 4.9 -> 4.9.1

---
 .../ccache/{ccache_4.9.bb => ccache_4.9.1.bb} | 26 +++++++++++++++++--
 .../0001-xxhash.h-Fix-build-with-gcc-12.patch |  2 +-
 2 files changed, 25 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/ccache/{ccache_4.9.bb => ccache_4.9.1.bb} (50%)

diff --git a/meta/recipes-devtools/ccache/ccache_4.9.bb b/meta/recipes-devtools/ccache/ccache_4.9.1.bb
similarity index 50%
rename from meta/recipes-devtools/ccache/ccache_4.9.bb
rename to meta/recipes-devtools/ccache/ccache_4.9.1.bb
index 8550470e3f..c21987ded4 100644
--- a/meta/recipes-devtools/ccache/ccache_4.9.bb
+++ b/meta/recipes-devtools/ccache/ccache_4.9.1.bb
@@ -1,3 +1,25 @@
+# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'.
+# The following is the difference between the old and the new license text.
+# Please update the LICENSE value if needed, and summarize the changes in
+# the commit message via 'License-Update:' tag.
+# (example: 'License-Update: copyright years updated.')
+#
+# The changes:
+#
+# --- LICENSE.adoc
+# +++ LICENSE.adoc
+# @@ -35,7 +35,7 @@
+#  
+#  ----
+#  Copyright (C) 2002-2007 Andrew Tridgell
+# -Copyright (C) 2009-2023 Joel Rosdahl and other contributors
+# +Copyright (C) 2009-2024 Joel Rosdahl and other contributors
+#  ----
+#  
+#  
+# 
+#
+
 SUMMARY = "a fast C/C++ compiler cache"
 DESCRIPTION = "ccache is a compiler cache. It speeds up recompilation \
 by caching the result of previous compilations and detecting when the \
@@ -7,14 +29,14 @@ HOMEPAGE = "http://ccache.samba.org"
 SECTION = "devel"
 
 LICENSE = "GPL-3.0-or-later"
-LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=11b0b581dd56bbac4f5de214d47927ca"
+LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=9896d6f0aee4d89b9e5ff0afaae0af06"
 
 DEPENDS = "zstd"
 
 SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
            file://0001-xxhash.h-Fix-build-with-gcc-12.patch \
            "
-SRC_URI[sha256sum] = "866b2223d59333640f0e7a003cbb85b32d9ca3c9445bd9e3cf142942e69dd3ec"
+SRC_URI[sha256sum] = "12834ecaaaf2db069dda1d1d991f91c19e3274cc04a471af5b64195def17e90f"
 
 inherit cmake github-releases
 
diff --git a/meta/recipes-devtools/ccache/files/0001-xxhash.h-Fix-build-with-gcc-12.patch b/meta/recipes-devtools/ccache/files/0001-xxhash.h-Fix-build-with-gcc-12.patch
index e65b830257..ff98156c22 100644
--- a/meta/recipes-devtools/ccache/files/0001-xxhash.h-Fix-build-with-gcc-12.patch
+++ b/meta/recipes-devtools/ccache/files/0001-xxhash.h-Fix-build-with-gcc-12.patch
@@ -1,4 +1,4 @@
-From d17fdacf4892a15fafb56b0890ece05b485e89fb Mon Sep 17 00:00:00 2001
+From 08364b8e61dbb85adb9a7ed7a6504d8b6f74c57d Mon Sep 17 00:00:00 2001
 From: Mingli Yu <mingli.yu@windriver.com>
 Date: Mon, 6 Jun 2022 17:53:20 +0800
 Subject: [PATCH] xxhash.h: Fix build with gcc-12
-- 
2.42.0

