From: Jan Rękorajski Date: Sun, 10 Mar 2019 17:08:18 +0000 (+0100) Subject: - relax the test for netlink_ack X-Git-Tag: auto/th/ipset-7.1-1~1 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fipset.git;a=commitdiff_plain;h=6b10edb - relax the test for netlink_ack --- 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