diff options
-rw-r--r-- | meta-oe/recipes-graphics/fbida/fbida_git.bb | 1 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/fbida/files/0001-fbida-Include-missing-sys-types.h.patch | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/fbida/fbida_git.bb b/meta-oe/recipes-graphics/fbida/fbida_git.bb index 523a7865ce..ebf88cd0e1 100644 --- a/meta-oe/recipes-graphics/fbida/fbida_git.bb +++ b/meta-oe/recipes-graphics/fbida/fbida_git.bb | |||
@@ -19,6 +19,7 @@ SRC_URI = "git://github.com/kraxel/fbida;protocol=https;branch=master \ | |||
19 | file://0002-meson.build-add-features-options-for-png-gif-tiff-we.patch \ | 19 | file://0002-meson.build-add-features-options-for-png-gif-tiff-we.patch \ |
20 | file://0003-meson.build-do-not-require-xkbcommon.patch \ | 20 | file://0003-meson.build-do-not-require-xkbcommon.patch \ |
21 | file://0001-meson.build-make-fbpdf-build-optional.patch \ | 21 | file://0001-meson.build-make-fbpdf-build-optional.patch \ |
22 | file://0001-fbida-Include-missing-sys-types.h.patch \ | ||
22 | " | 23 | " |
23 | SRCREV = "eb769e3d7f4a073d4c37ed524ebd5017c6a578f5" | 24 | SRCREV = "eb769e3d7f4a073d4c37ed524ebd5017c6a578f5" |
24 | S = "${WORKDIR}/git" | 25 | S = "${WORKDIR}/git" |
diff --git a/meta-oe/recipes-graphics/fbida/files/0001-fbida-Include-missing-sys-types.h.patch b/meta-oe/recipes-graphics/fbida/files/0001-fbida-Include-missing-sys-types.h.patch new file mode 100644 index 0000000000..0fb58f80e1 --- /dev/null +++ b/meta-oe/recipes-graphics/fbida/files/0001-fbida-Include-missing-sys-types.h.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 17490e264e627ead81bf5840c8797de968485943 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 3 Jul 2023 11:25:26 -0700 | ||
4 | Subject: [PATCH] fbida: Include missing <sys/types.h> | ||
5 | |||
6 | Fixes build on musl | ||
7 | ../git/gfx.h:43:5: error: unknown type name 'dev_t'; did you mean 'div_t'? | ||
8 | dev_t devnum; | ||
9 | ^~~~~ | ||
10 | div_t | ||
11 | TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fbida/2.14+gitAUTOINC+eb769e3d7f-r0/recipe-sysroot/usr/include/stdlib.h:64:35: note: 'div_t' declared here | ||
12 | typedef struct { int quot, rem; } div_t; | ||
13 | ^ | ||
14 | 1 error generated | ||
15 | |||
16 | Upstream-Status: Submitted [https://github.com/kraxel/fbida/pull/3] | ||
17 | |||
18 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
19 | --- | ||
20 | gfx.h | 1 + | ||
21 | 1 file changed, 1 insertion(+) | ||
22 | |||
23 | --- a/gfx.h | ||
24 | +++ b/gfx.h | ||
25 | @@ -1,5 +1,6 @@ | ||
26 | #include <stdbool.h> | ||
27 | #include <inttypes.h> | ||
28 | +#include <sys/types.h> | ||
29 | |||
30 | #include <pixman.h> | ||
31 | #include <cairo.h> | ||