diff options
| author | Wang Mingyu <wangmy@cn.fujitsu.com> | 2020-12-08 14:11:11 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-12-07 22:49:09 -0800 |
| commit | 2bbafdd7a00faf2f682906525172ac2a0e49923a (patch) | |
| tree | ca9fc7ca1c4246c625fbf8f5b6ae757b0a0ee3b3 /meta-oe/recipes-connectivity | |
| parent | f147cbab5d11e7f708448de1917d78ff99170464 (diff) | |
| download | meta-openembedded-2bbafdd7a00faf2f682906525172ac2a0e49923a.tar.gz | |
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 <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity')
| -rw-r--r-- | meta-oe/recipes-connectivity/gensio/gensio/0001-Modify-parameter-of-function-sctp_gensio_alloc.patch | 29 | ||||
| -rw-r--r-- | meta-oe/recipes-connectivity/gensio/gensio_2.2.0.bb (renamed from meta-oe/recipes-connectivity/gensio/gensio_2.1.4.bb) | 4 |
2 files changed, 31 insertions, 2 deletions
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 @@ | |||
| 1 | From b94eff3461e4fb99cd761d6858e8ed94cb6c5412 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Wang Mingyu <wangmy@cn.fujitsu.com> | ||
| 3 | Date: Tue, 8 Dec 2020 11:58:06 +0900 | ||
| 4 | Subject: [PATCH] 0001-Modify-parameter-of-function-sctp_gensio_alloc.patch | ||
| 5 | |||
| 6 | parameter type of declearation is const, definition should also be | ||
| 7 | const. | ||
| 8 | |||
| 9 | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> | ||
| 10 | --- | ||
| 11 | lib/gensio_sctp.c | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/lib/gensio_sctp.c b/lib/gensio_sctp.c | ||
| 15 | index bd9437f..4278ff8 100644 | ||
| 16 | --- a/lib/gensio_sctp.c | ||
| 17 | +++ b/lib/gensio_sctp.c | ||
| 18 | @@ -1092,7 +1092,7 @@ str_to_sctp_gensio_accepter(const char *str, const char * const args[], | ||
| 19 | #else | ||
| 20 | |||
| 21 | int | ||
| 22 | -sctp_gensio_alloc(struct gensio_addr *iai, const char * const args[], | ||
| 23 | +sctp_gensio_alloc(const struct gensio_addr *iai, const char * const args[], | ||
| 24 | struct gensio_os_funcs *o, | ||
| 25 | gensio_event cb, void *user_data, | ||
| 26 | struct gensio **new_gensio) | ||
| 27 | -- | ||
| 28 | 2.25.1 | ||
| 29 | |||
diff --git a/meta-oe/recipes-connectivity/gensio/gensio_2.1.4.bb b/meta-oe/recipes-connectivity/gensio/gensio_2.2.0.bb index 9d73da90d8..424e176cad 100644 --- a/meta-oe/recipes-connectivity/gensio/gensio_2.1.4.bb +++ b/meta-oe/recipes-connectivity/gensio/gensio_2.2.0.bb | |||
| @@ -5,10 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=a0fd36908af843bcee10cb6dfc47fa67 \ | |||
| 5 | file://COPYING;md5=bae3019b4c6dc4138c217864bd04331f \ | 5 | file://COPYING;md5=bae3019b4c6dc4138c217864bd04331f \ |
| 6 | " | 6 | " |
| 7 | 7 | ||
| 8 | SRCREV = "998a017076a86179696a3ad811e2bae9155e46cb" | 8 | SRCREV = "4ec19138aa968dea34e4bc4e022c1ad7ed4c43c0" |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/cminyard/gensio;protocol=https \ | 10 | SRC_URI = "git://github.com/cminyard/gensio;protocol=https \ |
| 11 | " | 11 | file://0001-Modify-parameter-of-function-sctp_gensio_alloc.patch" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
| 14 | 14 | ||
