summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-08-23 11:01:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-02 15:54:45 +0100
commita76700a47c227e76551d2f2c86db5841ad7f6e8f (patch)
tree83bb86e36056fd504a808f8d38128ced88e1373d /meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch
parent0469854032ad8ce3f690e84520619d9819263bdc (diff)
downloadopenembedded-core-a76700a47c227e76551d2f2c86db5841ad7f6e8f.tar.gz
ccache: Upgrade to 4.6.2
Fix build with musl Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch')
-rw-r--r--meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch12
1 files changed, 5 insertions, 7 deletions
diff --git a/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch b/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch
index 6c1d3cf4f9..d752eb0651 100644
--- a/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch
+++ b/meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch
@@ -1,4 +1,4 @@
-From 3d3364221c235c733436abaeeea9b5e6813b06ae Mon Sep 17 00:00:00 2001
+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
@@ -10,22 +10,20 @@ src/core/Statistics.hpp:41:37: error: 'time_t' has not been declared
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 3e9ed816..0017f209 100644
+index 54f32e9..eb80e1c 100644
--- a/src/core/Statistics.hpp
+++ b/src/core/Statistics.hpp
-@@ -20,6 +20,7 @@
-
+@@ -21,6 +21,7 @@
#include <core/StatisticsCounters.hpp>
+ #include <cstdint>
+#include <ctime>
#include <string>
#include <unordered_map>
#include <vector>
---
-2.37.2
-