Created attachment 203211 [details] patch for x11-clocks/tclock to fix late drawing of hands tclock(1) draws a transparent clock; hands are only redrawn if they moved. While this approach is fine in general, it lead to hands being drawn late (the second hand only after a second, the minute hand only after a minute, ...) if they started in position (i.e., if the clock was started at the full minute, full hour, ...). Fix this by setting the initial position to an invalid value, forcing immediate redraw upon startup. Reported and patch provided by Kurt Hackenberg <kh@panix.com>. Bump PORTREVISION, as this fixes a bug in the program. While there, rearrange sections in the Makefile to make portlint more happy.
Committed, thanks!
A commit references this bug: Author: swills Date: Thu Apr 11 00:52:52 UTC 2019 New revision: 498625 URL: https://svnweb.freebsd.org/changeset/ports/498625 Log: x11-clocks/tclock: fix drawing bug PR: 236848 Submitted by: Klaus Aehlig <aehlig@linta.de> (maintainer) Changes: head/x11-clocks/tclock/Makefile head/x11-clocks/tclock/files/patch-tclock.c