aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch
diff options
context:
space:
mode:
authorRussell Senior <russell@personaltelco.net>2017-11-27 23:15:50 -0800
committerHans Dedecker <dedeckeh@gmail.com>2017-12-06 22:30:00 +0100
commitc3c1185d56abbae471c3d0bb0477349f79f5d3bb (patch)
tree49c5a8a3402c636b613736ab8b027c11e8f8a165 /package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch
parent711a816770b0447ab37fa709251605d7402e4fec (diff)
downloadupstream-c3c1185d56abbae471c3d0bb0477349f79f5d3bb.tar.gz
upstream-c3c1185d56abbae471c3d0bb0477349f79f5d3bb.tar.bz2
upstream-c3c1185d56abbae471c3d0bb0477349f79f5d3bb.zip
iproute2: update to v4.14.1
Preserves optionality of libmnl by letting configuration script follow the HAVE_MNL environment variable. Signed-off-by: Russell Senior <russell@personaltelco.net>
Diffstat (limited to 'package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch')
-rw-r--r--package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch b/package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch
new file mode 100644
index 0000000000..7a5a702237
--- /dev/null
+++ b/package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch
@@ -0,0 +1,11 @@
+--- a/configure
++++ b/configure
+@@ -292,7 +292,7 @@ check_selinux()
+
+ check_mnl()
+ {
+- if ${PKG_CONFIG} libmnl --exists
++ if [ "${HAVE_MNL}" = "y" ] && ${PKG_CONFIG} libmnl --exists
+ then
+ echo "HAVE_MNL:=y" >>$CONFIG
+ echo "yes"