Bug 198919

Summary: new port: misc/stderred Library that will display STDERR output in red
Product: Ports & Packages Reporter: braakvaak
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed Feedback Timeout    
Severity: Affects Only Me CC: amdmi3, miwi
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
shar file none

Description braakvaak 2015-03-26 03:30:22 UTC
Created attachment 154817 [details]
shar file

stderred hooks on write() and a family of stream functions (fwrite, fprintf, error...) from libc in order to colorize all stderr output that goest to terminal, thus making it distinguishable from stdout. Basically it wraps text that goes to file with descriptor "2" with proper ANSI escape codes making text red.

It's implemented as a shared library and doesn't require recompilation of existing binaries thanks to preload/insert feature of dynamic linkers.

WWW: https://github.com/sickill/stderred
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2015-04-02 15:52:17 UTC
Why do you patch CMakeLists.txt while you override the build so cmake is not used? The upstream installation is preferred. You should also not use GH_COMMIT, it's deprecated.
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2015-05-14 10:00:18 UTC
Ping
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2015-06-02 02:42:24 UTC
Ping.