Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2022 18:40:26 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ba97dbab1eba - main - x11/hamclock: fix build on armv7
Message-ID:  <202210301840.29UIeQ2J091436@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ba97dbab1eba786c0bedfe11d583f2e6dd4fd1b6

commit ba97dbab1eba786c0bedfe11d583f2e6dd4fd1b6
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-10-30 18:39:50 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-30 18:39:50 +0000

    x11/hamclock: fix build on armv7
    
    PR:             267439
---
 x11/hamclock/files/patch-ESPHamClock.ino | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/x11/hamclock/files/patch-ESPHamClock.ino b/x11/hamclock/files/patch-ESPHamClock.ino
index 7a90ed213f30..ab69d7320c20 100644
--- a/x11/hamclock/files/patch-ESPHamClock.ino
+++ b/x11/hamclock/files/patch-ESPHamClock.ino
@@ -1,5 +1,5 @@
---- ESPHamClock.ino.orig	2022-04-30 15:37:10.367129000 -0500
-+++ ESPHamClock.ino	2022-04-30 15:37:48.165833000 -0500
+--- ESPHamClock.ino.orig	2022-07-02 11:59:16 UTC
++++ ESPHamClock.ino
 @@ -1,6 +1,9 @@
  /* HamClock
   */
@@ -10,3 +10,12 @@
  
  // glue
  #include "HamClock.h"
+@@ -1605,7 +1608,7 @@ static void drawUptime(bool force)
+     // draw two most significant units if change
+     if (upsecs < 60) {
+         prepUptime();
+-        tft.print(upsecs); tft.print(F("s "));
++        tft.print((long)upsecs); tft.print(F("s "));
+     } else if (upsecs < 3600) {
+         prepUptime();
+         tft.print(mins); tft.print(F("m "));



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