From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/iproute2/, sys-apps/iproute2/files/
Date: Wed, 10 Aug 2022 08:07:35 +0000 (UTC) [thread overview]
Message-ID: <1660118849.a92a9f6ab23a9b1eee9b8486a71455c1907c7e92.sam@gentoo> (raw)
commit: a92a9f6ab23a9b1eee9b8486a71455c1907c7e92
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 10 08:07:19 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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 <changhyeok.bae@gmail.com>
+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 <changhyeok.bae@gmail.com>
+--- 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"
+
+From 28c740473510cd911b97cc5d7d23bd809a0f200b Mon Sep 17 00:00:00 2001
+From: Stephen Hemminger <stephen@networkplumber.org>
+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 <stephen@networkplumber.org>
+--- a/ip/ipstats.c
++++ b/ip/ipstats.c
+@@ -1,7 +1,11 @@
+ // SPDX-License-Identifier: GPL-2.0+
++#include <alloca.h>
+ #include <assert.h>
+ #include <errno.h>
++#include <stdio.h>
++#include <string.h>
+ #include <sys/param.h>
++#include <sys/socket.h>
+
+ #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() {
next reply other threads:[~2022-08-10 8:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-10 8:07 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-08 12:30 [gentoo-commits] repo/gentoo:master commit in: sys-apps/iproute2/, sys-apps/iproute2/files/ David Seifert
2024-09-24 6:06 Sam James
2024-08-04 16:17 Andreas K. Hüttel
2024-05-13 17:35 Patrick McLean
2023-12-28 2:19 Sam James
2023-12-02 4:03 Sam James
2023-09-16 10:25 Sam James
2023-06-27 19:54 Sam James
2022-08-13 13:59 Sam James
2022-08-12 19:25 Patrick McLean
2022-01-13 8:10 Sam James
2021-02-23 14:55 Lars Wendler
2020-08-09 9:38 Lars Wendler
2020-06-15 9:54 David Seifert
2019-09-25 14:01 Thomas Deutschmann
2019-01-08 10:52 Lars Wendler
2018-04-03 10:24 Lars Wendler
2018-01-09 23:41 Mike Frysinger
2017-12-15 11:48 Thomas Deutschmann
2017-05-01 17:29 Lars Wendler
2016-12-18 0:14 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1660118849.a92a9f6ab23a9b1eee9b8486a71455c1907c7e92.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox