Message ID | 20220524170911.2350456-1-fontaine.fabrice@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] package/libostree: fix build without systemd | expand |
Fabrice, All, On 2022-05-24 19:09 +0200, Fabrice Fontaine spake thusly: > 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 <fontaine.fabrice@gmail.com> Applied to master, thanks. Regards, 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 <luca.bruno@coreos.com> > +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 <fontaine.fabrice@gmail.com> > +--- > + 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 <gio/gunixinputstream.h> > + #include <gio/gunixoutputstream.h> > + #include <glib-unix.h> > ++#include <stdint.h> > + #include <sys/mount.h> > + #include <sys/statvfs.h> > + #include <sys/socket.h> > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot
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 <luca.bruno@coreos.com> +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 <fontaine.fabrice@gmail.com> +--- + 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 <gio/gunixinputstream.h> + #include <gio/gunixoutputstream.h> + #include <glib-unix.h> ++#include <stdint.h> + #include <sys/mount.h> + #include <sys/statvfs.h> + #include <sys/socket.h>
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 <fontaine.fabrice@gmail.com> --- ...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