From 200c20cf8f7eddc4621d64cf38ebfdc7f02380a7 Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 19 Dec 2019 10:06:33 -0500 Subject: WIP: waterfox rpm updates from phantomx --- waterfox/waterfox-disable-diagnostics-color.patch | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 waterfox/waterfox-disable-diagnostics-color.patch (limited to 'waterfox/waterfox-disable-diagnostics-color.patch') diff --git a/waterfox/waterfox-disable-diagnostics-color.patch b/waterfox/waterfox-disable-diagnostics-color.patch new file mode 100644 index 0000000..84e8c92 --- /dev/null +++ b/waterfox/waterfox-disable-diagnostics-color.patch @@ -0,0 +1,31 @@ +From 0bf3ae1ba71921b3725c0ac2830bbe5cbdb95656 Mon Sep 17 00:00:00 2001 +From: Phantom X +Date: Wed, 11 Dec 2019 11:45:18 -0300 +Subject: [PATCH] Disable diagnostics color output + +This dump a lot of garbage in mock logs +--- + build/moz.configure/toolchain.configure | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure +index a31acb7..10868e0 100755 +--- a/build/moz.configure/toolchain.configure ++++ b/build/moz.configure/toolchain.configure +@@ -969,12 +969,7 @@ def color_cflags(info): + # value changes to e.g. "=always", exact string match may fail and + # multiple color flags could be added. So examine downstream consumers + # before adding flags to return values. +- if info.type == 'gcc' and info.version >= '4.9.0': +- return '-fdiagnostics-color' +- elif info.type == 'clang': +- return '-fcolor-diagnostics' +- else: +- return '' ++ return '-fno-diagnostics-color' + + set_config('COLOR_CFLAGS', color_cflags) + +-- +2.24.1 + -- cgit