ccache: upgrade 4.6.2 -> 4.6.3

(From OE-Core rev: 01ff58d9174eb81ae8f774600702bb0cb3b405a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2022-09-15 07:14:37 +00:00
parent c4b7e9ae05
commit 87c783d375
3 changed files with 2 additions and 58 deletions

View File

@@ -13,10 +13,8 @@ DEPENDS = "zstd"
SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz \
file://0001-xxhash.h-Fix-build-with-gcc-12.patch \
file://0001-Include-time.h-for-time_t.patch \
file://0002-config-Include-sys-types.h-for-mode_t-defintion.patch \
"
SRC_URI[sha256sum] = "6a746a9bed01585388b68e2d58af2e77741fc8d66bc360b5a0b4c41fc284dafe"
"
SRC_URI[sha256sum] = "f46ba3706ad80c30d4d5874dee2bf9227a7fcd0ccaac31b51919a3053d84bd05"
UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/"

View File

@@ -1,29 +0,0 @@
From 590c656838a9b3769a7a855fb1891bfa8d8878ad Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 23 Aug 2022 10:27:21 -0700
Subject: [PATCH] Include time.h for time_t
Fixes
src/core/Statistics.hpp:41:37: error: 'time_t' has not been declared
| 41 | time_t last_updated,
| | ^~~~~~
Upstream-Status: Submitted [https://github.com/ccache/ccache/pull/1145]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
src/core/Statistics.hpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/core/Statistics.hpp b/src/core/Statistics.hpp
index 54f32e9..eb80e1c 100644
--- a/src/core/Statistics.hpp
+++ b/src/core/Statistics.hpp
@@ -21,6 +21,7 @@
#include <core/StatisticsCounters.hpp>
#include <cstdint>
+#include <ctime>
#include <string>
#include <unordered_map>
#include <vector>

View File

@@ -1,25 +0,0 @@
From f98b390a2d323f7f92fb0492b0943d201afe5b8f Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 23 Aug 2022 10:40:53 -0700
Subject: [PATCH] config: Include sys/types.h for mode_t defintion
Upstream-Status: Submitted [https://github.com/ccache/ccache/pull/1145]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
src/Config.hpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Config.hpp b/src/Config.hpp
index a9e08ec..9e7af40 100644
--- a/src/Config.hpp
+++ b/src/Config.hpp
@@ -25,6 +25,8 @@
#include "third_party/nonstd/optional.hpp"
+#include <sys/types.h>
+
#include <cstdint>
#include <functional>
#include <limits>