From 6891d182b7761a9259423acbeb2488c21d53fdc4 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 24 May 2022 19:09:11 +0200 Subject: [PATCH] package/libostree: fix build without systemd Fix the following build failure without systemd raised since bump to version 2022.03 in commit 0eb073ca2ba89dad2e531644fd33f693d228ef94: src/libostree/ostree-sysroot-deploy.c: In function 'child_setup_fchdir': src/libostree/ostree-sysroot-deploy.c:2837:19: error: 'uintptr_t' undeclared (first use in this function); did you mean 'intptr_t'? 2837 | int fd = (int) (uintptr_t) data; | ^~~~~~~~~ | intptr_t Fixes: - http://autobuild.buildroot.org/results/c134d849e7942911cb6bd13869dd2f3aefd8c21c Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- ...y-add-a-missing-include-for-stdint-h.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 package/libostree/0001-lib-ostree-sysroot-deploy-add-a-missing-include-for-stdint-h.patch diff --git a/package/libostree/0001-lib-ostree-sysroot-deploy-add-a-missing-include-for-stdint-h.patch b/package/libostree/0001-lib-ostree-sysroot-deploy-add-a-missing-include-for-stdint-h.patch new file mode 100644 index 0000000000..35f92c37ff --- /dev/null +++ b/package/libostree/0001-lib-ostree-sysroot-deploy-add-a-missing-include-for-stdint-h.patch @@ -0,0 +1,24 @@ +From 4b7fc4f1e90bbeac89d2f939cde3070e69b4787a Mon Sep 17 00:00:00 2001 +From: Luca BRUNO +Date: Fri, 6 May 2022 10:07:23 +0000 +Subject: [PATCH] lib/ostree-sysroot-deploy: add a missing include for stdint.h + +[Retrieved from: +https://github.com/ostreedev/ostree/commit/4b7fc4f1e90bbeac89d2f939cde3070e69b4787a] +Signed-off-by: Fabrice Fontaine +--- + src/libostree/ostree-sysroot-deploy.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c +index 404f336fb5..96cc07531e 100644 +--- a/src/libostree/ostree-sysroot-deploy.c ++++ b/src/libostree/ostree-sysroot-deploy.c +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + #include + #include + #include