* updated maddy (0.7.1 -> 0.8.1), untested
[t2sde.git] / package / network / inetutils / path-proc-net.patch
blob260c857c2d0f7b9a2652962b84aa270c3445dbe1
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/*/inetutils/path-proc-net.patch
5 # Copyright (C) 2021 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- inetutils-2.0/ifconfig/system/linux.c.vanilla 2021-02-06 17:16:29.261063633 +0100
18 +++ inetutils-2.0/ifconfig/system/linux.c 2021-02-06 17:17:23.747066444 +0100
19 @@ -50,6 +50,10 @@
20 #include <read-file.h>
21 #include <unused-parameter.h>
23 +#ifndef PATH_PROCNET_DEV
24 +#define PATH_PROCNET_DEV "/proc/net/dev"
25 +#endif
27 #include "../ifconfig.h"