From 6b10edb6dda87b1d841898128363364cae97d192 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sun, 10 Mar 2019 18:08:18 +0100 Subject: [PATCH] - relax the test for netlink_ack --- kernel-5.0.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-5.0.patch b/kernel-5.0.patch index c6f65a9..e9df12b 100644 --- a/kernel-5.0.patch +++ b/kernel-5.0.patch @@ -5,7 +5,7 @@ AC_MSG_CHECKING([kernel source for netlink extended ACK]) if test -f $ksourcedir/include/linux/netlink.h && \ - $AWK '/^extern void netlink_ack\(/,/\)/' $ksourcedir/include/linux/netlink.h | $GREP -q 'const struct netlink_ext_ack'; then -+ $AWK '/^void netlink_ack\(/,/\)/' $ksourcedir/include/linux/netlink.h | $GREP -q 'const struct netlink_ext_ack'; then ++ $AWK '/void netlink_ack\(/,/\)/' $ksourcedir/include/linux/netlink.h | $GREP -q 'const struct netlink_ext_ack'; then AC_MSG_RESULT(yes) AC_SUBST(HAVE_NETLINK_EXTENDED_ACK, define) else -- 2.43.0