mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-16 15:25:53 +01:00
Rebase patch 0001-Add-missing-includes-cstdint-and-cstdio.patch to
the new version.
After the commit [1] introduced in the new version, there is below
build failure though uca-dump installed as [2], so copy the uca-dump
to the right place to fix the below failure.
make[2]: *** No rule to make target 'strings/uca-dump', needed by 'strings/ctype-uca1400data.h'. Stop.
[1] 6f6fa3bec2
[2] https://git.openembedded.org/meta-openembedded/commit/?id=1f69de300fd3b772830432eedeb2b055396494a6
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
71 lines
2.5 KiB
Diff
71 lines
2.5 KiB
Diff
From 68100b1f2243304289b9a9a35e8fb0e1bb0cf70f Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Tue, 24 Jan 2023 21:40:43 -0800
|
|
Subject: [PATCH] Add missing includes <cstdint> and <cstdio>
|
|
|
|
This is needed with GCC 13 and newer [1]
|
|
|
|
[1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
|
|
---
|
|
.../rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h | 1 +
|
|
storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h | 1 +
|
|
.../rocksdb/rocksdb/table/block_based/data_block_hash_index.h | 1 +
|
|
storage/rocksdb/rocksdb/util/slice.cc | 1 +
|
|
4 files changed, 4 insertions(+)
|
|
|
|
diff --git a/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h b/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h
|
|
index 963c1d8e..73487edd 100644
|
|
--- a/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h
|
|
+++ b/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h
|
|
@@ -5,6 +5,7 @@
|
|
|
|
#pragma once
|
|
|
|
+#include <cstdint>
|
|
#include "rocksdb/rocksdb_namespace.h"
|
|
|
|
struct CompactionIterationStats {
|
|
diff --git a/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h b/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h
|
|
index c7f93b4c..3c2ab805 100644
|
|
--- a/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h
|
|
+++ b/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h
|
|
@@ -8,6 +8,7 @@
|
|
#pragma once
|
|
#ifndef ROCKSDB_LITE
|
|
|
|
+#include <cstdint>
|
|
#include <string>
|
|
#include <vector>
|
|
#include "rocksdb/status.h"
|
|
diff --git a/storage/rocksdb/rocksdb/table/block_based/data_block_hash_index.h b/storage/rocksdb/rocksdb/table/block_based/data_block_hash_index.h
|
|
index f356395f..32152217 100644
|
|
--- a/storage/rocksdb/rocksdb/table/block_based/data_block_hash_index.h
|
|
+++ b/storage/rocksdb/rocksdb/table/block_based/data_block_hash_index.h
|
|
@@ -5,6 +5,7 @@
|
|
|
|
#pragma once
|
|
|
|
+#include <cstdint>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
diff --git a/storage/rocksdb/rocksdb/util/slice.cc b/storage/rocksdb/rocksdb/util/slice.cc
|
|
index 6db11cc9..c26b6a21 100644
|
|
--- a/storage/rocksdb/rocksdb/util/slice.cc
|
|
+++ b/storage/rocksdb/rocksdb/util/slice.cc
|
|
@@ -8,6 +8,7 @@
|
|
// found in the LICENSE file. See the AUTHORS file for names of contributors.
|
|
|
|
#include <algorithm>
|
|
+#include <cstdint>
|
|
#include "rocksdb/slice_transform.h"
|
|
#include "rocksdb/slice.h"
|
|
#include "util/string_util.h"
|
|
--
|
|
2.25.1
|
|
|