Created attachment 209309 [details] v1 Upstream development has stalled, so let's apply a patch from PR and enable WAYLAND option like bug 227509. By default (if -m is not passed) the patch makes redshift try "wayland" method before "drm". Given "drm" doesn't work under X11 it's not much worse than before i.e., X11 users still have to pass "-m randr" or have "adjustment-method = randr" in ~/.config/redshift.conf. Tested via x11-wm/sway.
Go ahead. Since I no longer use redshift now that KDE has support for it natively. You can take over maintainership of the port if you like too.
A commit references this bug: Author: jbeich Date: Fri Nov 22 22:50:49 UTC 2019 New revision: 518170 URL: https://svnweb.freebsd.org/changeset/ports/518170 Log: accessibility/redshift: add Wayland support PR: 242130 Approved by: swills (maintainer) Changes: head/accessibility/redshift/Makefile head/accessibility/redshift/distinfo head/accessibility/redshift/files/ head/accessibility/redshift/files/patch-src_gamma-wl.c
A commit references this bug: Author: jbeich Date: Fri Nov 22 22:53:44 UTC 2019 New revision: 518171 URL: https://svnweb.freebsd.org/changeset/ports/518171 Log: accessibility/redshift: force rebuild after r518170 PR: 242130 Changes: head/accessibility/redshift/Makefile