diff options
-rw-r--r-- | meta-oe/recipes-extended/minifi-cpp/files/0001-Add-missing-includes-cstdint-and-cstdio.patch | 70 | ||||
-rw-r--r-- | meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb | 1 |
2 files changed, 71 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0001-Add-missing-includes-cstdint-and-cstdio.patch b/meta-oe/recipes-extended/minifi-cpp/files/0001-Add-missing-includes-cstdint-and-cstdio.patch new file mode 100644 index 0000000000..0fce8dc64f --- /dev/null +++ b/meta-oe/recipes-extended/minifi-cpp/files/0001-Add-missing-includes-cstdint-and-cstdio.patch | |||
@@ -0,0 +1,70 @@ | |||
1 | From 6e376601c990abaa5e261d1311f92acb3b370b8f Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 24 Jan 2023 21:40:43 -0800 | ||
4 | Subject: [PATCH] Add missing includes <cstdint> and <cstdio> | ||
5 | |||
6 | This is needed with GCC 13 and newer [1] | ||
7 | |||
8 | [1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html | ||
9 | |||
10 | Upstream-Status: Backport [https://github.com/facebook/rocksdb/commit/88edfbfb5e1cac228f7cc31fbec24bb637fe54b1] | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | .../rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h | 1 + | ||
14 | storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h | 1 + | ||
15 | .../rocksdb/rocksdb/table/block_based/data_block_hash_index.h | 1 + | ||
16 | storage/rocksdb/rocksdb/util/slice.cc | 1 + | ||
17 | storage/rocksdb/rocksdb/util/string_util.h | 1 + | ||
18 | tpool/aio_linux.cc | 1 + | ||
19 | 6 files changed, 6 insertions(+) | ||
20 | |||
21 | --- a/thirdparty/rocksdb/include/rocksdb/utilities/checkpoint.h | ||
22 | +++ b/thirdparty/rocksdb/include/rocksdb/utilities/checkpoint.h | ||
23 | @@ -8,6 +8,7 @@ | ||
24 | #pragma once | ||
25 | #ifndef ROCKSDB_LITE | ||
26 | |||
27 | +#include <cstdint> | ||
28 | #include <string> | ||
29 | #include "rocksdb/status.h" | ||
30 | |||
31 | --- a/thirdparty/rocksdb/util/string_util.h | ||
32 | +++ b/thirdparty/rocksdb/util/string_util.h | ||
33 | @@ -6,6 +6,7 @@ | ||
34 | |||
35 | #pragma once | ||
36 | |||
37 | +#include <cstdint> | ||
38 | #include <sstream> | ||
39 | #include <string> | ||
40 | #include <unordered_map> | ||
41 | --- a/extensions/expression-language/common/Value.h | ||
42 | +++ b/extensions/expression-language/common/Value.h | ||
43 | @@ -15,6 +15,7 @@ | ||
44 | * limitations under the License. | ||
45 | */ | ||
46 | |||
47 | +#include <cstdint> | ||
48 | #include <string> | ||
49 | #include <sstream> | ||
50 | #include <iomanip> | ||
51 | --- a/libminifi/include/utils/StringUtils.h | ||
52 | +++ b/libminifi/include/utils/StringUtils.h | ||
53 | @@ -18,6 +18,7 @@ | ||
54 | #define LIBMINIFI_INCLUDE_IO_STRINGUTILS_H_ | ||
55 | #include <iostream> | ||
56 | #include <cstring> | ||
57 | +#include <cstdint> | ||
58 | #include <functional> | ||
59 | #ifdef WIN32 | ||
60 | #include <cwctype> | ||
61 | --- a/thirdparty/rocksdb/db/compaction_iteration_stats.h | ||
62 | +++ b/thirdparty/rocksdb/db/compaction_iteration_stats.h | ||
63 | @@ -5,6 +5,7 @@ | ||
64 | |||
65 | #pragma once | ||
66 | |||
67 | +#include <cstdint> | ||
68 | struct CompactionIterationStats { | ||
69 | // Compaction statistics | ||
70 | |||
diff --git a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb index b843f72a52..1bf99d4907 100644 --- a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb +++ b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb | |||
@@ -31,6 +31,7 @@ SRC_URI = "git://github.com/apache/nifi-minifi-cpp.git;branch=master;protocol=ht | |||
31 | file://0001-cxxopts-Add-limits-header.patch \ | 31 | file://0001-cxxopts-Add-limits-header.patch \ |
32 | file://0001-Fix-build-with-libc.patch \ | 32 | file://0001-Fix-build-with-libc.patch \ |
33 | file://0001-civetweb-Disable-lto.patch \ | 33 | file://0001-civetweb-Disable-lto.patch \ |
34 | file://0001-Add-missing-includes-cstdint-and-cstdio.patch \ | ||
34 | file://minifi.service \ | 35 | file://minifi.service \ |
35 | file://systemd-volatile.conf \ | 36 | file://systemd-volatile.conf \ |
36 | file://sysvinit-volatile.conf \ | 37 | file://sysvinit-volatile.conf \ |