diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/gensio')
-rw-r--r-- | meta-oe/recipes-connectivity/gensio/files/0001-configure-Check-for-request_init-API-when-probing-fo.patch | 31 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/gensio/files/0001-tools-gensiot-Fix-build-with-musl.patch | 29 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/gensio/gensio_2.8.4.bb (renamed from meta-oe/recipes-connectivity/gensio/gensio_2.5.2.bb) | 13 |
3 files changed, 6 insertions, 67 deletions
diff --git a/meta-oe/recipes-connectivity/gensio/files/0001-configure-Check-for-request_init-API-when-probing-fo.patch b/meta-oe/recipes-connectivity/gensio/files/0001-configure-Check-for-request_init-API-when-probing-fo.patch deleted file mode 100644 index 3b4caa2215..0000000000 --- a/meta-oe/recipes-connectivity/gensio/files/0001-configure-Check-for-request_init-API-when-probing-fo.patch +++ /dev/null @@ -1,31 +0,0 @@ -From f56e59712d8708c74a4cf66d24b5703fc16b22ae Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Thu, 1 Sep 2022 11:31:48 -0700 -Subject: [PATCH] configure: Check for request_init API when probing for - libwrap - -checking for main() is not right check, since this function is not part -of libwrap but the app. Newer autocof and toolchain may fail - -Upstream-Status: Submitted [https://github.com/cminyard/gensio/pull/48] -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 90cfcb6b..1c06d918 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -109,7 +109,7 @@ AC_ARG_WITH(tcp-wrappers, - if test "$tcp_wrappers" != "no" - then - AC_CHECK_HEADERS([tcpd.h]) -- AC_CHECK_LIB(wrap,main) -+ AC_CHECK_LIB(wrap,request_init) - fi - - AC_ARG_ENABLE([doc], --- -2.37.3 - diff --git a/meta-oe/recipes-connectivity/gensio/files/0001-tools-gensiot-Fix-build-with-musl.patch b/meta-oe/recipes-connectivity/gensio/files/0001-tools-gensiot-Fix-build-with-musl.patch deleted file mode 100644 index 93831c380f..0000000000 --- a/meta-oe/recipes-connectivity/gensio/files/0001-tools-gensiot-Fix-build-with-musl.patch +++ /dev/null @@ -1,29 +0,0 @@ -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 - diff --git a/meta-oe/recipes-connectivity/gensio/gensio_2.5.2.bb b/meta-oe/recipes-connectivity/gensio/gensio_2.8.4.bb index d6b5f1987e..1f85c46e2f 100644 --- a/meta-oe/recipes-connectivity/gensio/gensio_2.5.2.bb +++ b/meta-oe/recipes-connectivity/gensio/gensio_2.8.4.bb @@ -1,16 +1,13 @@ SUMMARY = "A library to abstract stream I/O like serial port, TCP, telnet, etc" HOMEPAGE = "https://github.com/cminyard/gensio" LICENSE = "GPL-2.0-only & LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=a0fd36908af843bcee10cb6dfc47fa67 \ - file://COPYING;md5=bae3019b4c6dc4138c217864bd04331f \ +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ " -SRCREV = "b6cd354afe6d5f63bc859c94fd3a455a3cdf0449" +SRCREV = "300644fc02b7099ca27ca5bac88c47e159ba8a6b" -SRC_URI = "git://github.com/cminyard/gensio;protocol=https;branch=master \ - file://0001-tools-gensiot-Fix-build-with-musl.patch \ - file://0001-configure-Check-for-request_init-API-when-probing-fo.patch \ -" +SRC_URI = "git://github.com/cminyard/gensio;protocol=https;branch=master" S = "${WORKDIR}/git" @@ -25,3 +22,5 @@ PACKAGECONFIG[swig] = "--with-swig,--without-swig, swig" EXTRA_OECONF = "--without-python" RDEPENDS:${PN} += "bash" + +FILES:${PN}-staticdev += "${libexecdir}/gensio/${PV}/libgensio_*.a" |