diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-util/colorgcc/files/colorgcc-1.3.2-note.patch | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/colorgcc/files/colorgcc-1.3.2-note.patch')
-rw-r--r-- | dev-util/colorgcc/files/colorgcc-1.3.2-note.patch | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/dev-util/colorgcc/files/colorgcc-1.3.2-note.patch b/dev-util/colorgcc/files/colorgcc-1.3.2-note.patch deleted file mode 100644 index 026503e8f2c9..000000000000 --- a/dev-util/colorgcc/files/colorgcc-1.3.2-note.patch +++ /dev/null @@ -1,57 +0,0 @@ ---- /usr/bin/colorgcc 2009-10-29 20:24:46.717190000 +0100 -+++ colorgcc 2009-10-29 20:27:42.614162888 +0100 -@@ -102,7 +102,8 @@ - $nocolor{"dumb"} = "true"; - - $colors{"srcColor"} = color("cyan"); -- $colors{"introColor"} = color("blue"); -+ $colors{"introFileNameColor"} = color("blue"); -+ $colors{"introMessageColor"} = color("blue"); - - $colors{"warningFileNameColor"} = color("yellow"); - $colors{"warningNumberColor"} = color("yellow"); -@@ -111,6 +112,10 @@ - $colors{"errorFileNameColor"} = color("bold red"); - $colors{"errorNumberColor"} = color("bold red"); - $colors{"errorMessageColor"} = color("bold red"); -+ -+ $colors{"noteFileNameColor"} = color("green"); -+ $colors{"noteNumberColor"} = color("green"); -+ $colors{"noteMessageColor"} = color("green"); - } - - sub loadPreferences -@@ -290,12 +295,18 @@ - print($colors{"warningNumberColor"}, "$field2:", color("reset")); - srcscan($field3, $colors{"warningMessageColor"}); - } -- else -- { -+ elsif ($field3 =~ m/\s+error:.*/) -+ { - # Error - print($colors{"errorFileNameColor"}, "$field1:", color("reset")); - print($colors{"errorNumberColor"}, "$field2:", color("reset")); - srcscan($field3, $colors{"errorMessageColor"}); -+ } else -+ { -+ # Note -+ print($colors{"noteFileNameColor"}, "$field1:", color("reset")); -+ print($colors{"noteNumberColor"}, "$field2:", color("reset")); -+ srcscan($field3, $colors{"noteMessageColor"}); - } - print("\n"); - } -@@ -305,8 +316,11 @@ - } - elsif (m/^(.*?):(.+):$/) # filename:message: - { -+ my $field1 = $1 || ""; -+ my $field2 = $2 || ""; - # No line number, treat as an "introductory" line of text. -- srcscan($_, $colors{"introColor"}); -+ print($colors{"introFileNameColor"}, "$field1:", color("reset")); -+ print($colors{"introMessageColor"}, "$field2:\n", color("reset")); - } - else # Anything else. - { |