From c8ca4f12f8d777a7c42e3997257ead2ed4c13efe Mon Sep 17 00:00:00 2001 From: zangrc Date: Sun, 7 Feb 2021 21:26:14 +0800 Subject: gensio: upgrade 2.2.0 -> 2.2.3 0001-Modify-parameter-of-function-sctp_gensio_alloc.patch Removed since this is included in 2.2.3 Signed-off-by: Zang Ruochen Signed-off-by: Khem Raj --- ...y-parameter-of-function-sctp_gensio_alloc.patch | 29 ---------------------- .../recipes-connectivity/gensio/gensio_2.2.0.bb | 25 ------------------- .../recipes-connectivity/gensio/gensio_2.2.3.bb | 24 ++++++++++++++++++ 3 files changed, 24 insertions(+), 54 deletions(-) delete mode 100644 meta-oe/recipes-connectivity/gensio/gensio/0001-Modify-parameter-of-function-sctp_gensio_alloc.patch delete mode 100644 meta-oe/recipes-connectivity/gensio/gensio_2.2.0.bb create mode 100644 meta-oe/recipes-connectivity/gensio/gensio_2.2.3.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-connectivity/gensio/gensio/0001-Modify-parameter-of-function-sctp_gensio_alloc.patch b/meta-oe/recipes-connectivity/gensio/gensio/0001-Modify-parameter-of-function-sctp_gensio_alloc.patch deleted file mode 100644 index 22a452508c..0000000000 --- a/meta-oe/recipes-connectivity/gensio/gensio/0001-Modify-parameter-of-function-sctp_gensio_alloc.patch +++ /dev/null @@ -1,29 +0,0 @@ -From b94eff3461e4fb99cd761d6858e8ed94cb6c5412 Mon Sep 17 00:00:00 2001 -From: Wang Mingyu -Date: Tue, 8 Dec 2020 11:58:06 +0900 -Subject: [PATCH] 0001-Modify-parameter-of-function-sctp_gensio_alloc.patch - -parameter type of declearation is const, definition should also be -const. - -Signed-off-by: Wang Mingyu ---- - lib/gensio_sctp.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/gensio_sctp.c b/lib/gensio_sctp.c -index bd9437f..4278ff8 100644 ---- a/lib/gensio_sctp.c -+++ b/lib/gensio_sctp.c -@@ -1092,7 +1092,7 @@ str_to_sctp_gensio_accepter(const char *str, const char * const args[], - #else - - int --sctp_gensio_alloc(struct gensio_addr *iai, const char * const args[], -+sctp_gensio_alloc(const struct gensio_addr *iai, const char * const args[], - struct gensio_os_funcs *o, - gensio_event cb, void *user_data, - struct gensio **new_gensio) --- -2.25.1 - diff --git a/meta-oe/recipes-connectivity/gensio/gensio_2.2.0.bb b/meta-oe/recipes-connectivity/gensio/gensio_2.2.0.bb deleted file mode 100644 index 424e176cad..0000000000 --- a/meta-oe/recipes-connectivity/gensio/gensio_2.2.0.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "A library to abstract stream I/O like serial port, TCP, telnet, etc" -HOMEPAGE = "https://github.com/cminyard/gensio" -LICENSE = "GPL-2.0 & LGPL-2.1" -LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=a0fd36908af843bcee10cb6dfc47fa67 \ - file://COPYING;md5=bae3019b4c6dc4138c217864bd04331f \ - " - -SRCREV = "4ec19138aa968dea34e4bc4e022c1ad7ed4c43c0" - -SRC_URI = "git://github.com/cminyard/gensio;protocol=https \ - file://0001-Modify-parameter-of-function-sctp_gensio_alloc.patch" - -S = "${WORKDIR}/git" - -inherit autotools - -PACKAGECONFIG ??= "openssl tcp-wrappers" - -PACKAGECONFIG[openssl] = "--with-openssl=${STAGING_DIR_HOST}${prefix},--without-openssl, openssl" -PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,--without-tcp-wrappers, tcp-wrappers" -PACKAGECONFIG[swig] = "--with-swig,--without-swig, swig" - -EXTRA_OECONF = "--without-python" - -RDEPENDS_${PN} += "bash" diff --git a/meta-oe/recipes-connectivity/gensio/gensio_2.2.3.bb b/meta-oe/recipes-connectivity/gensio/gensio_2.2.3.bb new file mode 100644 index 0000000000..89d4549892 --- /dev/null +++ b/meta-oe/recipes-connectivity/gensio/gensio_2.2.3.bb @@ -0,0 +1,24 @@ +SUMMARY = "A library to abstract stream I/O like serial port, TCP, telnet, etc" +HOMEPAGE = "https://github.com/cminyard/gensio" +LICENSE = "GPL-2.0 & LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=a0fd36908af843bcee10cb6dfc47fa67 \ + file://COPYING;md5=bae3019b4c6dc4138c217864bd04331f \ + " + +SRCREV = "88fe56696b19ffff3e16be1d46d062e835879740" + +SRC_URI = "git://github.com/cminyard/gensio;protocol=https;branch=2.2.x" + +S = "${WORKDIR}/git" + +inherit autotools + +PACKAGECONFIG ??= "openssl tcp-wrappers" + +PACKAGECONFIG[openssl] = "--with-openssl=${STAGING_DIR_HOST}${prefix},--without-openssl, openssl" +PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,--without-tcp-wrappers, tcp-wrappers" +PACKAGECONFIG[swig] = "--with-swig,--without-swig, swig" + +EXTRA_OECONF = "--without-python" + +RDEPENDS_${PN} += "bash" -- cgit v1.2.3-54-g00ecf