1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-07 16:59:22 +00:00

iproute2: upgrade 5.18.0 -> 5.19.0

(From OE-Core rev: 00c40d1343dd34a416657b79745f102a17332ddb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2022-08-08 08:42:04 +02:00
committed by Richard Purdie
parent 461f6575fa
commit 4feac920c2
2 changed files with 27 additions and 1 deletions
@@ -0,0 +1,25 @@
From c8a99f1035ec7b158a204f90e9a7ed3c0b1e3d52 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Fri, 5 Aug 2022 11:31:56 +0200
Subject: [PATCH] ip/ipstats.c: add an include where MIN is defined
Otherwise, non-glibc systems error out (e.g. on musl).
Upstream-Status: Submitted [by email to stephen@networkplumber.org,netdev@vger.kernel.org]
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
ip/ipstats.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ip/ipstats.c b/ip/ipstats.c
index 5cdd15a..1ac275b 100644
--- a/ip/ipstats.c
+++ b/ip/ipstats.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0+
#include <assert.h>
#include <errno.h>
+#include <sys/param.h>
#include "list.h"
#include "utils.h"
@@ -2,9 +2,10 @@ require iproute2.inc
SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \
file://0001-libc-compat.h-add-musl-workaround.patch \
file://0001-ip-ipstats.c-add-an-include-where-MIN-is-defined.patch \
"
SRC_URI[sha256sum] = "5ba3d464d51c8c283550d507ffac3d10f7aec587b7c66b0ccb6950643646389e"
SRC_URI[sha256sum] = "26b7a34d6a7fd2f7a42e2b39c5a90cb61bac522d1096067ffeb195e5693d7791"
# CFLAGS are computed in Makefile and reference CCOPTS
#