Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2019 08:13:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236848] x11-clocks/tclock: fix bug drawing hands late when starting in position 0
Message-ID:  <bug-236848-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236848

            Bug ID: 236848
           Summary: x11-clocks/tclock: fix bug drawing hands late when
                    starting in position 0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: aehlig@linta.de

Created attachment 203211
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203211&action=
=3Dedit
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 val=
ue,
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236848-7788>