All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/ustreamer: fix uclibc build
@ 2024-05-15 18:10 Fabrice Fontaine
  2024-05-24 12:57 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-05-15 18:10 UTC (permalink / raw)
  To: buildroot; +Cc: Kadambini Nema, Fabrice Fontaine

Fix the following uclibc build failure raised since bump to version 6.11
in commit c6c173dadb7b44ba4af92237d05503b8e83e51dc and
https://github.com/pikvm/ustreamer/commit/2d6716aa4762151f0fb1b900d3cd3295d328cab6:

In file included from libs/base64.h:25,
                 from libs/base64.c:23:
libs/types.h:30:9: error: unknown type name 'ssize_t'
   30 | typedef ssize_t sz;
      |         ^~~~~~~

Fixes: c6c173dadb7b44ba4af92237d05503b8e83e51dc
 - http://autobuild.buildroot.org/results/24498049d7beb4afaaf9f9a0c2fc0bcd26a3ee04

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...src-libs-types.h-include-sys-types.h.patch | 36 +++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 package/ustreamer/0001-src-libs-types.h-include-sys-types.h.patch

diff --git a/package/ustreamer/0001-src-libs-types.h-include-sys-types.h.patch b/package/ustreamer/0001-src-libs-types.h-include-sys-types.h.patch
new file mode 100644
index 0000000000..82fe596963
--- /dev/null
+++ b/package/ustreamer/0001-src-libs-types.h-include-sys-types.h.patch
@@ -0,0 +1,36 @@
+From 6c24c9ea610e7cc0e47d1e7124697098d5ef365e Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Wed, 15 May 2024 19:56:49 +0200
+Subject: [PATCH] src/libs/types.h: include sys/types.h (#273)
+
+Include sys/types.h to avoid the following uclibc build failure since
+version 5.52 and
+https://github.com/pikvm/ustreamer/commit/2d6716aa4762151f0fb1b900d3cd3295d328cab6:
+
+In file included from libs/base64.h:25,
+                 from libs/base64.c:23:
+libs/types.h:30:9: error: unknown type name 'ssize_t'
+   30 | typedef ssize_t sz;
+      |         ^~~~~~~
+
+Fixes:
+ - http://autobuild.buildroot.org/results/24498049d7beb4afaaf9f9a0c2fc0bcd26a3ee04
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Upstream: https://github.com/pikvm/ustreamer/commit/6c24c9ea610e7cc0e47d1e7124697098d5ef365e
+---
+ src/libs/types.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/libs/types.h b/src/libs/types.h
+index 54e42325..b35bbaea 100644
+--- a/src/libs/types.h
++++ b/src/libs/types.h
+@@ -24,6 +24,7 @@
+ #include <stdio.h>
+ #include <stdbool.h>
+ #include <stdint.h>
++#include <sys/types.h>
+ 
+ 
+ typedef long long sll;
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/ustreamer: fix uclibc build
  2024-05-15 18:10 [Buildroot] [PATCH 1/1] package/ustreamer: fix uclibc build Fabrice Fontaine
@ 2024-05-24 12:57 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2024-05-24 12:57 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Kadambini Nema, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Fix the following uclibc build failure raised since bump to version 6.11
 > in commit c6c173dadb7b44ba4af92237d05503b8e83e51dc and
 > https://github.com/pikvm/ustreamer/commit/2d6716aa4762151f0fb1b900d3cd3295d328cab6:

 > In file included from libs/base64.h:25,
 >                  from libs/base64.c:23:
 > libs/types.h:30:9: error: unknown type name 'ssize_t'
 >    30 | typedef ssize_t sz;
 >       |         ^~~~~~~

 > Fixes: c6c173dadb7b44ba4af92237d05503b8e83e51dc
 >  - http://autobuild.buildroot.org/results/24498049d7beb4afaaf9f9a0c2fc0bcd26a3ee04

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-24 12:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-15 18:10 [Buildroot] [PATCH 1/1] package/ustreamer: fix uclibc build Fabrice Fontaine
2024-05-24 12:57 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.