diff options
| -rw-r--r-- | meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-include-stdint.h-for-int64_t-types.patch | 27 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.3.bb | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-include-stdint.h-for-int64_t-types.patch b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-include-stdint.h-for-int64_t-types.patch new file mode 100644 index 0000000000..373e146b98 --- /dev/null +++ b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-include-stdint.h-for-int64_t-types.patch | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | From 44f4254fe96c43437400f94a8a2800175ddf3279 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 20 May 2024 21:00:48 -0700 | ||
| 4 | Subject: [PATCH] include stdint.h for int64_t types | ||
| 5 | |||
| 6 | This is exposed when compiling for musl platforms where this | ||
| 7 | header is not included indirectly. | ||
| 8 | |||
| 9 | Upstream-Status: Submitted [https://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3/pull/270] | ||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | src/Value.cpp | 1 + | ||
| 13 | 1 file changed, 1 insertion(+) | ||
| 14 | |||
| 15 | diff --git a/src/Value.cpp b/src/Value.cpp | ||
| 16 | index cbda697..d6f2c9c 100644 | ||
| 17 | --- a/src/Value.cpp | ||
| 18 | +++ b/src/Value.cpp | ||
| 19 | @@ -1,4 +1,5 @@ | ||
| 20 | #include <iomanip> | ||
| 21 | +#include <cstdint> | ||
| 22 | |||
| 23 | #include "etcd/Value.hpp" | ||
| 24 | #include "etcd/v3/KeyValue.hpp" | ||
| 25 | -- | ||
| 26 | 2.45.1 | ||
| 27 | |||
diff --git a/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.3.bb b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.3.bb index 401d53c79c..2e149577dc 100644 --- a/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.3.bb +++ b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.3.bb | |||
| @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eae7da6a2cd1788a5cf8a9f838cf6450" | |||
| 7 | SRC_URI = " \ | 7 | SRC_URI = " \ |
| 8 | git://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3.git;branch=master;protocol=https \ | 8 | git://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3.git;branch=master;protocol=https \ |
| 9 | file://0001-cmake-fix-when-cross-compiling.patch \ | 9 | file://0001-cmake-fix-when-cross-compiling.patch \ |
| 10 | file://0001-include-stdint.h-for-int64_t-types.patch \ | ||
| 10 | " | 11 | " |
| 11 | 12 | ||
| 12 | SRCREV = "e31ac4d4caa55fa662e207150ba40f8151b7ad96" | 13 | SRCREV = "e31ac4d4caa55fa662e207150ba40f8151b7ad96" |
