aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2025-05-01 10:30:47 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2025-05-03 11:19:37 +0000
commitc05f77799d7a04d31098db52bfad3f71cf366f49 (patch)
tree65e1d0df31e0b0b43ed8140a3d70d260866e814d
parente8fbe03e20014b539ef7ef622a4270b88ff1fbe6 (diff)
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
-rw-r--r--x11-toolkits/fox17/files/patch-lib_FXThread.cpp11
1 files changed, 11 insertions, 0 deletions
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;