summaryrefslogtreecommitdiff
path: root/waterfox/waterfox-disable-diagnostics-color.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-12-19 10:06:33 -0500
committerB Stack <bgstack15@gmail.com>2019-12-19 10:06:33 -0500
commit200c20cf8f7eddc4621d64cf38ebfdc7f02380a7 (patch)
tree99f22cca82b796c318e046058d27e2f54f5d3c29 /waterfox/waterfox-disable-diagnostics-color.patch
parentfix waterfox dpkg name (diff)
downloadstackrpms-200c20cf8f7eddc4621d64cf38ebfdc7f02380a7.tar.gz
stackrpms-200c20cf8f7eddc4621d64cf38ebfdc7f02380a7.tar.bz2
stackrpms-200c20cf8f7eddc4621d64cf38ebfdc7f02380a7.zip
WIP: waterfox rpm updates from phantomx
Diffstat (limited to 'waterfox/waterfox-disable-diagnostics-color.patch')
-rw-r--r--waterfox/waterfox-disable-diagnostics-color.patch31
1 files changed, 31 insertions, 0 deletions
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 <PhantomX@users.noreply.github.com>
+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. "<x>=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
+
bgstack15