lksctp-tools: upgrade 1.0.18 -> 1.0.19

0001-m4-sctp.m4-make-conpatible-to-autoconf-2.70.patch
Removed since this is included in 1.0.19.

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
zangrc 2021-05-14 10:12:28 +08:00 committed by Khem Raj
parent 1447ec7019
commit f2c352d8ff
2 changed files with 2 additions and 92 deletions

View File

@ -1,89 +0,0 @@
From d6d7130f0a2e3b81880fca29966e42c1b2be40a7 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Fri, 8 Jan 2021 22:22:52 +0000
Subject: [PATCH] m4/sctp.m4: make conpatible to autoconf-2.70
On recently released `autoconf-2.70` generated `./configure`
fails as:
```
$ ./configure
...
checking for struct sctp_event_subscribe.sctp_stream_reset_event... yes
checking for gcc options needed to detect all undeclared functions... none needed
./configure: line 16464: syntax error: unexpected end of file
```
This happens becuase new autoconf generates less whitespace:
```
{
if ...
...
fi}
```
It requires at least whitespace between `fi` and `}`.
As input already has newlines the change just drops extra `{}`.
Tested on `autoconf-2.69` and `autoconf-2.70`.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Upstream-Status: Backport [git://github.com/sctp/lksctp-tools.git]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
m4/sctp.m4 | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/m4/sctp.m4 b/m4/sctp.m4
index 6593517..94527a6 100644
--- a/m4/sctp.m4
+++ b/m4/sctp.m4
@@ -6,7 +6,7 @@
# Macros to assist on probing kernel features
# Probes if a type is defined
-AC_DEFUN([LKSCTP_CHECK_TYPE], [{
+AC_DEFUN([LKSCTP_CHECK_TYPE], [
AC_CHECK_TYPE([$1],
AC_DEFINE([$2], 1,
[Define if $1 is present.])
@@ -22,10 +22,10 @@ AC_CHECK_TYPE([$1],
#ifdef HAVE_LINUX_SCTP_H
# include <linux/sctp.h>
#endif
-])}])
+])])
# Probes if a struct has a given member
-AC_DEFUN([LKSCTP_CHECK_MEMBER], [{
+AC_DEFUN([LKSCTP_CHECK_MEMBER], [
AC_CHECK_MEMBER([$1],
AC_DEFINE([$2], 1,
[Define if $1 is present.])
@@ -41,10 +41,10 @@ AC_CHECK_MEMBER([$1],
#ifdef HAVE_LINUX_SCTP_H
# include <linux/sctp.h>
#endif
-])}])
+])])
# Probes if a declaration is present
-AC_DEFUN([LKSCTP_CHECK_DECL], [{
+AC_DEFUN([LKSCTP_CHECK_DECL], [
AC_CHECK_DECL([$1],
AC_DEFINE([$2], 1,
[Define if $1 is present.])
@@ -60,4 +60,4 @@ AC_CHECK_DECL([$1],
#ifdef HAVE_LINUX_SCTP_H
# include <linux/sctp.h>
#endif
-])}])
+])])
--
2.27.0

View File

@ -8,14 +8,13 @@ LIC_FILES_CHKSUM = " \
file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e \
"
SRCREV = "12c74404e09755561dee40cf194954f7ff5afd60"
SRCREV = "05b50d379ff0037de4957bb2a1befcce88b70225"
PV .= "+git${SRCPV}"
LK_REL = "1.0.18"
LK_REL = "1.0.19"
SRC_URI = " \
git://github.com/sctp/lksctp-tools.git \
file://0001-m4-sctp.m4-make-conpatible-to-autoconf-2.70.patch \
file://run-ptest \
file://v4test.sh \
file://v6test.sh \