* updated yet more dir-less .cache DEPs
[t2sde.git] / package / network / iproute2 / hotfix-path-max.patch
blob1d56099dc4cc25265637d0e3ab40464f1590c391
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/iproute2/hotfix-path-max.patch
3 # Copyright (C) 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 iplink.c: In function 'iplink_parse':
15 iplink.c:663:43: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'?
16 663 | char path[PATH_MAX];
18 --- iproute2-6.12.0/ip/iplink.c.vanilla 2024-12-05 20:50:04.769772978 +0100
19 +++ iproute2-6.12.0/ip/iplink.c 2024-12-05 20:50:17.969772892 +0100
20 @@ -11,6 +11,7 @@
21 #include <fcntl.h>
22 #include <dlfcn.h>
23 #include <errno.h>
24 +#include <limits.h>
25 #include <sys/socket.h>
26 #include <linux/if.h>
27 #include <linux/if_packet.h>