summaryrefslogtreecommitdiff
path: root/sysutils/conky/files/patch-src_display-console.cc
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2022-09-20 15:24:34 +0200
committerGuido Falsi <madpilot@FreeBSD.org>2022-09-20 15:24:34 +0200
commit26ddb168f9e16870240f6ea049218d062c1b536d (patch)
tree373b874cdd970577eb3a27d0940f6a40c2ec4bce /sysutils/conky/files/patch-src_display-console.cc
parentUses/cabal.mk: Extend i386 brokeness to basement-0.0.15 (diff)
sysutils/conky: Update to 1.13.1
- Remove option referencing removed xmms2 port
Diffstat (limited to '')
-rw-r--r--sysutils/conky/files/patch-src_display-console.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/conky/files/patch-src_display-console.cc b/sysutils/conky/files/patch-src_display-console.cc
new file mode 100644
index 000000000000..aad2f1f14886
--- /dev/null
+++ b/sysutils/conky/files/patch-src_display-console.cc
@@ -0,0 +1,16 @@
+--- src/display-console.cc.orig 2022-09-19 15:16:35 UTC
++++ src/display-console.cc
+@@ -54,8 +54,11 @@ bool display_output_console::detect() {
+ }
+
+ bool display_output_console::detect() {
+- if ((out_to_stdout.get(*state) || out_to_stderr.get(*state)) &&
+- !out_to_ncurses.get(*state)) {
++ if ((out_to_stdout.get(*state) || out_to_stderr.get(*state))
++#ifdef BUILD_NCURSES
++ && !out_to_ncurses.get(*state)
++#endif
++ ) {
+ DBGP2("Display output '%s' enabled in config.", name.c_str());
+ return true;
+ }