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 <chutzpah@gentoo.org>
This commit is contained in:
Patrick McLean
2022-08-12 12:24:13 -07:00
parent 75262bd499
commit 536cf40336
3 changed files with 9 additions and 0 deletions

View File

@@ -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;

View File

@@ -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() {

View File

@@ -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() {