From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 25377158094 for ; Wed, 10 Aug 2022 08:07:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 675B8E0E91; Wed, 10 Aug 2022 08:07:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 41FE9E0E91 for ; Wed, 10 Aug 2022 08:07:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B76F341226 for ; Wed, 10 Aug 2022 08:07:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED37255B for ; Wed, 10 Aug 2022 08:07:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1660118849.a92a9f6ab23a9b1eee9b8486a71455c1907c7e92.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/iproute2/, sys-apps/iproute2/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/iproute2/files/iproute2-5.19.0-musl.patch sys-apps/iproute2/iproute2-5.19.0.ebuild X-VCS-Directories: sys-apps/iproute2/files/ sys-apps/iproute2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a92a9f6ab23a9b1eee9b8486a71455c1907c7e92 X-VCS-Branch: master Date: Wed, 10 Aug 2022 08:07:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1a2759e8-621d-46bf-98e7-586cefd480a7 X-Archives-Hash: 74764d264015c4c241fa8861db742460 commit: a92a9f6ab23a9b1eee9b8486a71455c1907c7e92 Author: Sam James gentoo org> AuthorDate: Wed Aug 10 08:07:19 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 10 08:07:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a92a9f6a sys-apps/iproute2: fix musl build Closes: https://bugs.gentoo.org/864771 Signed-off-by: Sam James gentoo.org> sys-apps/iproute2/files/iproute2-5.19.0-musl.patch | 48 ++++++++++++++++++++++ sys-apps/iproute2/iproute2-5.19.0.ebuild | 1 + 2 files changed, 49 insertions(+) diff --git a/sys-apps/iproute2/files/iproute2-5.19.0-musl.patch b/sys-apps/iproute2/files/iproute2-5.19.0-musl.patch new file mode 100644 index 000000000000..e907ba9454bf --- /dev/null +++ b/sys-apps/iproute2/files/iproute2-5.19.0-musl.patch @@ -0,0 +1,48 @@ +https://bugs.gentoo.org/864771 +https://github.com/shemminger/iproute2/commit/cf6b60c504d4be5e1df2b2745e55d677967831d0 +https://github.com/shemminger/iproute2/commit/28c740473510cd911b97cc5d7d23bd809a0f200b + +From cf6b60c504d4be5e1df2b2745e55d677967831d0 Mon Sep 17 00:00:00 2001 +From: Changhyeok Bae +Date: Tue, 9 Aug 2022 04:01:05 +0000 +Subject: [PATCH] ipstats: Add param.h for musl + +Fix build error for musl +| /usr/src/debug/iproute2/5.19.0-r0/iproute2-5.19.0/ip/ipstats.c:231: undefined reference to `MIN' + +Signed-off-by: Changhyeok Bae +--- a/ip/ipstats.c ++++ b/ip/ipstats.c +@@ -1,6 +1,7 @@ + // SPDX-License-Identifier: GPL-2.0+ + #include + #include ++#include + + #include "list.h" + #include "utils.h" + +From 28c740473510cd911b97cc5d7d23bd809a0f200b Mon Sep 17 00:00:00 2001 +From: Stephen Hemminger +Date: Tue, 9 Aug 2022 13:27:33 -0700 +Subject: [PATCH] ipstats: add missing headers + +IWYU reports several headers are not explicitly +included by ipstats. + +Signed-off-by: Stephen Hemminger +--- a/ip/ipstats.c ++++ b/ip/ipstats.c +@@ -1,7 +1,11 @@ + // SPDX-License-Identifier: GPL-2.0+ ++#include + #include + #include ++#include ++#include + #include ++#include + + #include "list.h" + #include "utils.h" + diff --git a/sys-apps/iproute2/iproute2-5.19.0.ebuild b/sys-apps/iproute2/iproute2-5.19.0.ebuild index b3c0b0e984dc..0ad41a520dc0 100644 --- a/sys-apps/iproute2/iproute2-5.19.0.ebuild +++ b/sys-apps/iproute2/iproute2-5.19.0.ebuild @@ -51,6 +51,7 @@ PATCHES=( "${FILESDIR}"/${PN}-5.12.0-configure-nomagic.patch # bug #643722 #"${FILESDIR}"/${PN}-5.1.0-portability.patch "${FILESDIR}"/${PN}-5.7.0-mix-signal.h-include.patch + "${FILESDIR}"/${P}-musl.patch ) src_prepare() {