-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
meta-oe/recipes-graphics/fbida/files/0001-fbida-Include-missing-sys-types.h.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From 17490e264e627ead81bf5840c8797de968485943 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <raj.khem@gmail.com> | ||
Date: Mon, 3 Jul 2023 11:25:26 -0700 | ||
Subject: [PATCH] fbida: Include missing <sys/types.h> | ||
|
||
Fixes build on musl | ||
../git/gfx.h:43:5: error: unknown type name 'dev_t'; did you mean 'div_t'? | ||
dev_t devnum; | ||
^~~~~ | ||
div_t | ||
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 | ||
typedef struct { int quot, rem; } div_t; | ||
^ | ||
1 error generated | ||
|
||
Upstream-Status: Submitted [https://github.com/kraxel/fbida/pull/3] | ||
|
||
Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
--- | ||
gfx.h | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
--- a/gfx.h | ||
+++ b/gfx.h | ||
@@ -1,5 +1,6 @@ | ||
#include <stdbool.h> | ||
#include <inttypes.h> | ||
+#include <sys/types.h> | ||
|
||
#include <pixman.h> | ||
#include <cairo.h> |