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 4C485158087 for ; Thu, 13 Jan 2022 08:10:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C21A2BC01A; Thu, 13 Jan 2022 08:10:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 39BCD2BC01A for ; Thu, 13 Jan 2022 08:10:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 68CD3343276 for ; Thu, 13 Jan 2022 08:10:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 03E9821D for ; Thu, 13 Jan 2022 08:10:25 +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: <1642061417.405e55107265eada57895caab0c39d0b17b5a270.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.16.0-fix-ax25.h-include-for-musl.patch sys-apps/iproute2/iproute2-5.16.0.ebuild X-VCS-Directories: sys-apps/iproute2/ sys-apps/iproute2/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 405e55107265eada57895caab0c39d0b17b5a270 X-VCS-Branch: master Date: Thu, 13 Jan 2022 08:10:25 +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: 7cec2861-9f42-4898-aaa0-24ba6799b8be X-Archives-Hash: ef6a8f370af369c6f29f1d5a09362fb6 commit: 405e55107265eada57895caab0c39d0b17b5a270 Author: Sam James gentoo org> AuthorDate: Thu Jan 13 08:08:00 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jan 13 08:10:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=405e5510 sys-apps/iproute2: fix build on musl Closes: https://bugs.gentoo.org/831102 Signed-off-by: Sam James gentoo.org> ...route2-5.16.0-fix-ax25.h-include-for-musl.patch | 23 ++++++++++++++++++++++ sys-apps/iproute2/iproute2-5.16.0.ebuild | 1 + 2 files changed, 24 insertions(+) diff --git a/sys-apps/iproute2/files/iproute2-5.16.0-fix-ax25.h-include-for-musl.patch b/sys-apps/iproute2/files/iproute2-5.16.0-fix-ax25.h-include-for-musl.patch new file mode 100644 index 000000000000..8644a93ba115 --- /dev/null +++ b/sys-apps/iproute2/files/iproute2-5.16.0-fix-ax25.h-include-for-musl.patch @@ -0,0 +1,23 @@ +From: Sam James +Date: Thu, 13 Jan 2022 08:05:33 +0000 +Subject: [PATCH] Fix ax25.h include for musl + +ax25.h isn't guaranteed to be avilable in netax25/*; +it's dependent on our choice of libc (it's not available +on musl at least) [0]. + +Let's use the version from linux-headers. + +[0] https://sourceware.org/glibc/wiki/Synchronizing_Headers +Bug: https://bugs.gentoo.org/831102 +--- a/lib/ax25_ntop.c ++++ b/lib/ax25_ntop.c +@@ -2,7 +2,7 @@ + + #include + #include +-#include ++#include + + #include "utils.h" + diff --git a/sys-apps/iproute2/iproute2-5.16.0.ebuild b/sys-apps/iproute2/iproute2-5.16.0.ebuild index c26a054ac839..a86a737045cb 100644 --- a/sys-apps/iproute2/iproute2-5.16.0.ebuild +++ b/sys-apps/iproute2/iproute2-5.16.0.ebuild @@ -50,6 +50,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}"/${PN}-5.16.0-fix-ax25.h-include-for-musl.patch ) doecho() {