diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-03-16 16:48:53 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-03-16 16:53:55 +0100 |
commit | 2bf616a212d4a57e21f5bc61bec35401ca4936b1 (patch) | |
tree | 5d7a1acd31d0ee2f278c3bdbc9bb410820ed69e3 /main/iproute2/musl-fixes.patch | |
parent | 326a94a22837fdcf2acc6a8cc1c249949bfce25f (diff) | |
download | aports-2bf616a212d4a57e21f5bc61bec35401ca4936b1.tar.bz2 aports-2bf616a212d4a57e21f5bc61bec35401ca4936b1.tar.xz |
main/iproute2: upgrade to 4.20.0
Diffstat (limited to 'main/iproute2/musl-fixes.patch')
-rw-r--r-- | main/iproute2/musl-fixes.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/main/iproute2/musl-fixes.patch b/main/iproute2/musl-fixes.patch new file mode 100644 index 0000000000..6c2990481a --- /dev/null +++ b/main/iproute2/musl-fixes.patch @@ -0,0 +1,19 @@ +Include linux/limits.h to fix the following compilation error: + + f_flower.c: In function 'flower_parse_enc_opts': + f_flower.c:702:11: error: 'XATTR_SIZE_MAX' undeclared (first use in this function); did you mean 'SSIZE_MAX + char key[XATTR_SIZE_MAX], mask[XATTR_SIZE_MAX]; + ^~~~~~~~~~~~~~ + SSIZE_MAX + +diff -upr iproute2-4.20.0.orig/tc/f_flower.c iproute2-4.20.0/tc/f_flower.c +--- iproute2-4.20.0.orig/tc/f_flower.c 2019-03-16 16:49:46.328056814 +0100 ++++ iproute2-4.20.0/tc/f_flower.c 2019-03-16 16:50:13.658058776 +0100 +@@ -19,6 +19,7 @@ + #include <linux/ip.h> + #include <linux/tc_act/tc_vlan.h> + #include <linux/mpls.h> ++#include <linux/limits.h> + + #include "utils.h" + #include "tc_util.h" |