package/libdisplay-info: include sys/types.h to fix build error
PATCH 1/1 package/libdisplay-info: include sys/types.h to fix build error
Signed-off-by Bernd Kuhls <[email protected]>
--- .../0001-cta-include-sys-types.h.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/libdisplay-info/0001-cta-include-sys-types.h.patch
package/libdisplay-info/0001-cta-include-sys-types.h.patch new file +35 -0
@@ -0,0 +1,35 @@ +From e569a92539c96acd2a618729827c8fbf3659d803 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Tue, 7 Oct 2025 22:44:01 +0200 +Subject: [PATCH] cta: include sys/types.h + +Fixes build error with uClibc-based toolchain and gcc 15.2.0 found by +Buildroot autobuilders[1]: + +../cta.c: In function 'parse_vendor_hdmi_block': +../cta.c:168:15: error: unknown type name 'ssize_t'; did you mean 'size_t'? + +[1] https://autobuild.buildroot.org/results/2d72feabdd0c9e1c9aa89e6d683d5f5ae0bb942d/ + +Upstream: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/merge_requests/201 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + cta.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/cta.c b/cta.c +index 12187cc..53edfca 100644 +--- a/cta.c ++++ b/cta.c +@@ -4,6 +4,7 @@ + #include <math.h> + #include <stdlib.h> + #include <string.h> ++#include <sys/types.h> + + #include "bits.h" + #include "cta.h" +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 3 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
In reply of:
Quoted 3 lines
Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2025.02.x and 2025.08.x. Thanks
Quoted 53 lines
--- .../0001-cta-include-sys-types.h.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/libdisplay-info/0001-cta-include-sys-types.h.patchpackage/libdisplay-info/0001-cta-include-sys-types.h.patch new file +35
-0@@ -0,0 +1,35 @@ +From e569a92539c96acd2a618729827c8fbf3659d803 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Tue, 7 Oct 2025 22:44:01 +0200 +Subject: [PATCH] cta: include sys/types.h + +Fixes build error with uClibc-based toolchain and gcc 15.2.0 found by +Buildroot autobuilders[1]: + +../cta.c: In function 'parse_vendor_hdmi_block': +../cta.c:168:15: error: unknown type name 'ssize_t'; did you mean 'size_t'? + +[1] https://autobuild.buildroot.org/results/2d72feabdd0c9e1c9aa89e6d683d5f5ae0bb942d/ + +Upstream: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/merge_requests/201 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + cta.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/cta.c b/cta.c +index 12187cc..53edfca 100644 +--- a/cta.c ++++ b/cta.c +@@ -4,6 +4,7 @@ + #include <math.h> + #include <stdlib.h> + #include <string.h> ++#include <sys/types.h> + + #include "bits.h" + #include "cta.h" +-- +2.47.3 +Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot