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 8011D158094 for ; Fri, 12 Aug 2022 19:25:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74F77E0A87; Fri, 12 Aug 2022 19:25:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 5A9DDE0A87 for ; Fri, 12 Aug 2022 19:25:09 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34672340CCF for ; Fri, 12 Aug 2022 19:25:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75EA58C for ; Fri, 12 Aug 2022 19:25:06 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1660332253.536cf403364a92aa6dbfb443da92ce5fe2e71277.chutzpah@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-default-color-auto.patch sys-apps/iproute2/iproute2-5.19.0-r1.ebuild sys-apps/iproute2/iproute2-5.19.0.ebuild sys-apps/iproute2/iproute2-9999.ebuild X-VCS-Directories: sys-apps/iproute2/ sys-apps/iproute2/files/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: 536cf403364a92aa6dbfb443da92ce5fe2e71277 X-VCS-Branch: master Date: Fri, 12 Aug 2022 19:25:06 +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: b4148aac-5283-4693-8b1d-90187f5900e2 X-Archives-Hash: 48047188a0ef869f3b56c26cc956361e commit: 536cf403364a92aa6dbfb443da92ce5fe2e71277 Author: Patrick McLean gentoo org> AuthorDate: Fri Aug 12 19:24:13 2022 +0000 Commit: Patrick McLean gentoo org> CommitDate: Fri Aug 12 19:24:13 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=536cf403 sys-apps/iproute2: Revbump, enable colour by default (bug #820236) Also add patch to 9999 ebuild. Closes: https://bugs.gentoo.org/820236 Signed-off-by: Patrick McLean gentoo.org> sys-apps/iproute2/files/iproute2-default-color-auto.patch | 7 +++++++ .../iproute2/{iproute2-5.19.0.ebuild => iproute2-5.19.0-r1.ebuild} | 1 + sys-apps/iproute2/iproute2-9999.ebuild | 1 + 3 files changed, 9 insertions(+) diff --git a/sys-apps/iproute2/files/iproute2-default-color-auto.patch b/sys-apps/iproute2/files/iproute2-default-color-auto.patch new file mode 100644 index 000000000000..eb017ecd61c8 --- /dev/null +++ b/sys-apps/iproute2/files/iproute2-default-color-auto.patch @@ -0,0 +1,7 @@ +diff --git a/ip/ip.c b/ip/ip.c +index 40d2998a..454da1a3 100644 +--- a/ip/ip.c ++++ b/ip/ip.c +@@ -169 +169 @@ int main(int argc, char **argv) +- int color = 0; ++ int color = COLOR_OPT_AUTO; diff --git a/sys-apps/iproute2/iproute2-5.19.0.ebuild b/sys-apps/iproute2/iproute2-5.19.0-r1.ebuild similarity index 99% rename from sys-apps/iproute2/iproute2-5.19.0.ebuild rename to sys-apps/iproute2/iproute2-5.19.0-r1.ebuild index 0ad41a520dc0..2ff11fd9105b 100644 --- a/sys-apps/iproute2/iproute2-5.19.0.ebuild +++ b/sys-apps/iproute2/iproute2-5.19.0-r1.ebuild @@ -52,6 +52,7 @@ PATCHES=( #"${FILESDIR}"/${PN}-5.1.0-portability.patch "${FILESDIR}"/${PN}-5.7.0-mix-signal.h-include.patch "${FILESDIR}"/${P}-musl.patch + "${FILESDIR}"/${PN}-default-color-auto.patch ) src_prepare() { diff --git a/sys-apps/iproute2/iproute2-9999.ebuild b/sys-apps/iproute2/iproute2-9999.ebuild index b3c0b0e984dc..8aaa6cc859d8 100644 --- a/sys-apps/iproute2/iproute2-9999.ebuild +++ b/sys-apps/iproute2/iproute2-9999.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}"/${PN}-default-color-auto.patch ) src_prepare() {