package/gensio: bump to version 2.2.0

Add patch backported from upstream to fix:
sctp: Fix a compile problem when disabled

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2020-11-22 21:04:04 -07:00 committed by Thomas Petazzoni
parent 9709f63609
commit dfd7ab5f79
3 changed files with 35 additions and 4 deletions

View File

@ -0,0 +1,31 @@
From 28e869876525479b98d0c473b47b176b98fc27be Mon Sep 17 00:00:00 2001
From: Corey Minyard <cminyard@mvista.com>
Date: Sat, 31 Oct 2020 13:32:23 -0500
Subject: [PATCH] sctp: Fix a compile problem when disabled
Changing the disabled code was missed :(.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[james.hilliard1@gmail.com: backport from upstream commit
28e869876525479b98d0c473b47b176b98fc27be]
---
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

View File

@ -1,7 +1,7 @@
# From https://sourceforge.net/projects/ser2net/files/ser2net/
md5 bef0312c68ef541f85893c6bc85930ed gensio-2.1.5.tar.gz
sha1 f23b4017aba5a6f9066f734ffb600fa36b1399c0 gensio-2.1.5.tar.gz
md5 580c969c150effa9e53be70544b7ae9e gensio-2.2.0.tar.gz
sha1 23f9211b9b91325ac6ba64d038c978d483fb93cb gensio-2.2.0.tar.gz
# Locally computed:
sha256 e497043a0415177652bfb2b1d045e4605cd5726bbcfe790ef6f555ac25825c12 gensio-2.1.5.tar.gz
sha256 006ce4e1fa0786b1abfa18f675cd92f98558f612e6fde6fac8bd5a1e61b5e1c9 gensio-2.2.0.tar.gz
sha256 501f3108e6c03e5a0a5585ebaaa369171aead5319cd0a7a4dc1f66211c1f09f1 COPYING
sha256 dcac7d447dd81ab96d28dce00a07a6486e623f7ded94e2a2a8e83312405cdf89 COPYING.LIB

View File

@ -4,7 +4,7 @@
#
################################################################################
GENSIO_VERSION = 2.1.5
GENSIO_VERSION = 2.2.0
GENSIO_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net
GENSIO_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools)
GENSIO_LICENSE_FILES = COPYING.LIB COPYING