git: 06aa075ffe84 - 2025Q2 - x11-toolkits/fox17: fix build on armv7

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sat, 03 May 2025 11:20:30 UTC
The branch 2025Q2 has been updated by fuz:

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

commit 06aa075ffe849754cf780b2cff5858e1fb804aa3
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-05-01 10:30:47 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-05-03 11:20:23 +0000

    x11-toolkits/fox17: fix build on armv7
    
    The FXThread::ticks() polyfill had a wrong type name, presumably
    as it isn't used on common 64 bit platforms.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2025Q2
    
    (cherry picked from commit c05f77799d7a04d31098db52bfad3f71cf366f49)
---
 x11-toolkits/fox17/files/patch-lib_FXThread.cpp | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/x11-toolkits/fox17/files/patch-lib_FXThread.cpp b/x11-toolkits/fox17/files/patch-lib_FXThread.cpp
new file mode 100644
index 000000000000..b09a711dd733
--- /dev/null
+++ b/x11-toolkits/fox17/files/patch-lib_FXThread.cpp
@@ -0,0 +1,11 @@
+--- lib/FXThread.cpp.orig	2025-05-01 10:27:45 UTC
++++ lib/FXThread.cpp
+@@ -387,7 +387,7 @@ FXTime FXThread::ticks(){
+   tbl&=-(FXint)(tbu0==tbu1);
+   return (((FXTime)tbu1) << 32) | tbl;
+ #elif (_POSIX_C_SOURCE >= 199309L)
+-  const NSTime seconds=1000000000;
++  const FXTime seconds=1000000000;
+   struct timespec ts;
+   clock_gettime(CLOCK_MONOTONIC,&ts);   // Monotonic: no jumps!
+   return ts.tv_sec*seconds+ts.tv_nsec;