On Sat, Jan 25, 2020 at 12:39:50AM +0100, Klemens Nanni wrote:
> `pcscd --debug' prints dark blue lines on my terminal with dark
> background, rendering them unreadable. The daemon has `-T' to enforce
> colored output, but no switch to disable colors on TTYs.
>
> Diff below simply removes the detection code, leaving only `-T' in place;
> both tested.
>
> Feedback? OK?
>
> If that seems worth it, I can contact upstream in order to fix these
> color semantics.
Updated diff after new version.
Index: Makefile
===================================================================
RCS file: /cvs/ports/security/pcsc-lite/Makefile,v
retrieving revision 1.48
diff -u -p -r1.48 Makefile
--- Makefile 30 Jan 2020 07:32:19 -0000 1.48
+++ Makefile 30 Jan 2020 20:07:03 -0000
@@ -3,6 +3,7 @@
COMMENT= resource manager for PC/SC
V= 1.8.26
+REVISION= 0
DISTNAME= pcsc-lite-${V}
CATEGORIES= security
Index: patches/patch-src_debug_c
===================================================================
RCS file: patches/patch-src_debug_c
diff -N patches/patch-src_debug_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_debug_c 24 Jan 2020 23:34:37 -0000
@@ -0,0 +1,38 @@
+$OpenBSD$
+
+Disable colors by default.
+
+Index: src/debug.c
+--- src/debug.c.orig
++++ src/debug.c
+@@ -75,30 +75,6 @@ static void log_init(void)
+
No comments:
Post a Comment