mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 06:16:04 +01:00
gensio: upgrade 2.3.1 -> 2.5.2
Version 2.5.2 contains an include sys/unistd.h, which is not available with musl, so fix the include path. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
b2c878e306
commit
d83086a2e4
|
|
@ -0,0 +1,29 @@
|
|||
From 823b6754a4d7655480b6e8576a9d0037f842d653 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Luebbe <jlu@pengutronix.de>
|
||||
Date: Thu, 25 Aug 2022 12:19:16 +0200
|
||||
Subject: [PATCH] tools:gensiot: Fix build with musl
|
||||
|
||||
According to POSIX getpid() is available in unistd.h, not sys/unistd.h.
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/cminyard/gensio/pull/47]
|
||||
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
|
||||
---
|
||||
tools/gensiotool.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tools/gensiotool.c b/tools/gensiotool.c
|
||||
index cac531bb4b74..ab0bb9583f9f 100644
|
||||
--- a/tools/gensiotool.c
|
||||
+++ b/tools/gensiotool.c
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
-#include <sys/unistd.h>
|
||||
+#include <unistd.h>
|
||||
#include <syslog.h>
|
||||
#endif
|
||||
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
@ -5,9 +5,11 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=a0fd36908af843bcee10cb6dfc47fa67 \
|
|||
file://COPYING;md5=bae3019b4c6dc4138c217864bd04331f \
|
||||
"
|
||||
|
||||
SRCREV = "c500d8705c517f96e591c060105a789f053d2b7a"
|
||||
SRCREV = "b6cd354afe6d5f63bc859c94fd3a455a3cdf0449"
|
||||
|
||||
SRC_URI = "git://github.com/cminyard/gensio;protocol=https;branch=master"
|
||||
SRC_URI = "git://github.com/cminyard/gensio;protocol=https;branch=master \
|
||||
file://0001-tools-gensiot-Fix-build-with-musl.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user