commit: 536cf403364a92aa6dbfb443da92ce5fe2e71277 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> AuthorDate: Fri Aug 12 19:24:13 2022 +0000 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> 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 <chutzpah <AT> 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() {
