From 2bbafdd7a00faf2f682906525172ac2a0e49923a Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 8 Dec 2020 14:11:11 +0800 Subject: gensio: 2.1.4 -> 2.2.0 0001-Modify-parameter-of-function-sctp_gensio_alloc.patch added to resolve compile error. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- ...y-parameter-of-function-sctp_gensio_alloc.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-oe/recipes-connectivity/gensio/gensio/0001-Modify-parameter-of-function-sctp_gensio_alloc.patch (limited to 'meta-oe/recipes-connectivity/gensio/gensio/0001-Modify-parameter-of-function-sctp_gensio_alloc.patch') 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 new file mode 100644 index 0000000000..22a452508c --- /dev/null +++ b/meta-oe/recipes-connectivity/gensio/gensio/0001-Modify-parameter-of-function-sctp_gensio_alloc.patch @@ -0,0 +1,29 @@ +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 + -- cgit 1.2.3-korg