git: c7d9ef760b89 - main - x11-toolkits/fox17: Update to 1.7.89
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jan 2026 18:42:13 UTC
The branch main has been updated by jhale:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c7d9ef760b8953075e56e847c0c7e523111dccbd
commit c7d9ef760b8953075e56e847c0c7e523111dccbd
Author: Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2026-01-03 18:39:05 +0000
Commit: Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2026-01-03 18:41:58 +0000
x11-toolkits/fox17: Update to 1.7.89
Bump PORTREVISION on consumers. Since this is a development version,
rebuild is required even for patch releases due to ABI incompatibility.
http://www.fox-toolkit.org/news.html
---
audio/gogglesmm/Makefile | 2 +-
x11-toolkits/fox17/Makefile | 6 ++++--
x11-toolkits/fox17/distinfo | 6 +++---
x11-toolkits/fox17/files/patch-include_FXFileSelector.h | 15 +++++++++++++++
x11-toolkits/fox17/files/patch-lib_FXReadWriteLock.cpp | 4 ++--
x11-toolkits/fox17/files/patch-lib_FXSystemTime.cpp | 13 ++++++++-----
x11-toolkits/fox17/files/patch-lib_FXThread.cpp | 4 ++--
x11-toolkits/fox17/pkg-plist | 5 +++--
8 files changed, 38 insertions(+), 17 deletions(-)
diff --git a/audio/gogglesmm/Makefile b/audio/gogglesmm/Makefile
index 9292d98d34c2..513fd7110583 100644
--- a/audio/gogglesmm/Makefile
+++ b/audio/gogglesmm/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gogglesmm
PORTVERSION= 1.2.5
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= audio
MAINTAINER= jhale@FreeBSD.org
diff --git a/x11-toolkits/fox17/Makefile b/x11-toolkits/fox17/Makefile
index fedf1e3a1527..c37c46535915 100644
--- a/x11-toolkits/fox17/Makefile
+++ b/x11-toolkits/fox17/Makefile
@@ -1,5 +1,5 @@
PORTNAME= fox
-PORTVERSION= 1.7.86
+PORTVERSION= 1.7.89
CATEGORIES= x11-toolkits
MASTER_SITES= http://fox-toolkit.org/ftp/ \
ftp://ftp.fox-toolkit.org/pub/
@@ -33,7 +33,9 @@ CPPFLAGS+= -D__BSD_VISIBLE -D__EXT1_VISIBLE -D_XOPEN_SOURCE=700
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${MAJORVER}
MAJORVER= ${PORTVERSION:R}
-PLIST_SUB= MAJORVER=${MAJORVER}
+PATCHVER= ${PORTVERSION:E}
+PLIST_SUB= MAJORVER=${MAJORVER} \
+ PATCHVER=${PATCHVER}
PORTDOCS= *
OPTIONS_DEFINE= CUPS DEBUG DOCS EXAMPLES OPTIMIZED_CFLAGS PROFILE TEST
diff --git a/x11-toolkits/fox17/distinfo b/x11-toolkits/fox17/distinfo
index 9e5b41c88146..d56fd4ff38e5 100644
--- a/x11-toolkits/fox17/distinfo
+++ b/x11-toolkits/fox17/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1755230898
-SHA256 (fox-1.7.86.tar.gz) = fd5daea276af14832fb6bf84d3c0e102fabe1d7b15fc1c5720de4dc37135b0ae
-SIZE (fox-1.7.86.tar.gz) = 5921552
+TIMESTAMP = 1767423767
+SHA256 (fox-1.7.89.tar.gz) = 54b363ae36c670aecd1e7be5a47bec6a054537241a0cb2168a44cedc19d401d8
+SIZE (fox-1.7.89.tar.gz) = 5963863
diff --git a/x11-toolkits/fox17/files/patch-include_FXFileSelector.h b/x11-toolkits/fox17/files/patch-include_FXFileSelector.h
new file mode 100644
index 000000000000..bc74709ab5aa
--- /dev/null
+++ b/x11-toolkits/fox17/files/patch-include_FXFileSelector.h
@@ -0,0 +1,15 @@
+Disengage FXPathBox. This is an experimental replacement for FXDirBox, but
+audio/gogglesmm is not ready for it and as an experimental feature, should
+not be enabled by default.
+
+--- include/FXFileSelector.h.orig 2025-11-12 04:54:22 UTC
++++ include/FXFileSelector.h
+@@ -53,8 +53,6 @@ enum {
+ SELECTFILE_DIRECTORY /// Existing directory, including '.' or '..'
+ };
+
+-#define PATHBOX 1
+-
+ /// File selection widget
+ class FXAPI FXFileSelector : public FXPacker {
+ FXDECLARE(FXFileSelector)
diff --git a/x11-toolkits/fox17/files/patch-lib_FXReadWriteLock.cpp b/x11-toolkits/fox17/files/patch-lib_FXReadWriteLock.cpp
index 2d8c0942dfe7..607969e419cf 100644
--- a/x11-toolkits/fox17/files/patch-lib_FXReadWriteLock.cpp
+++ b/x11-toolkits/fox17/files/patch-lib_FXReadWriteLock.cpp
@@ -3,9 +3,9 @@ was contained in an ifdef in version 1.7.75. The release notes for 1.7.76 only
state that not all systems have this function, but the supposed fix is a
regression on FreeBSD.
---- lib/FXReadWriteLock.cpp.orig 2021-04-02 00:40:37 UTC
+--- lib/FXReadWriteLock.cpp.orig 2025-06-26 02:08:06 UTC
+++ lib/FXReadWriteLock.cpp
-@@ -70,7 +70,9 @@ FXReadWriteLock::FXReadWriteLock(){
+@@ -72,7 +72,9 @@ FXReadWriteLock::FXReadWriteLock(){
FXASSERT_STATIC(sizeof(data)>=sizeof(pthread_rwlock_t));
pthread_rwlockattr_t rwlockatt;
pthread_rwlockattr_init(&rwlockatt);
diff --git a/x11-toolkits/fox17/files/patch-lib_FXSystemTime.cpp b/x11-toolkits/fox17/files/patch-lib_FXSystemTime.cpp
index 5d9bfa8a8afa..a59eeb477977 100644
--- a/x11-toolkits/fox17/files/patch-lib_FXSystemTime.cpp
+++ b/x11-toolkits/fox17/files/patch-lib_FXSystemTime.cpp
@@ -14,19 +14,22 @@ is reversed. [1]
After [3], use the base implementations of 'daylight' and 'timezone'.
+OpenBSD really shouldn't need this hack after 5.8, either. [4]
+
[1] https://www.gnu.org/software/libc/manual/html_node/Time-Zone-Functions.html#Time-Zone-Functions
[2] https://cgit.freebsd.org/src/tree/contrib/tzcode/stdtime/localtime.c?id=9436aa0e668b147c9a5bf1898ef091934c676434#n84
[3] https://cgit.freebsd.org/src/commit/?id=a34940a9756ac8edce36fec176949ee82e9235b4
+[4] https://github.com/openbsd/src/commit/c9da469ac9133c60159589ec32d42d777401961c (official CVS is awful for the big picture)
---- lib/FXSystemTime.cpp.orig 2024-06-30 15:47:37 UTC
+--- lib/FXSystemTime.cpp.orig 2025-11-16 21:25:35 UTC
+++ lib/FXSystemTime.cpp
-@@ -264,8 +264,11 @@ FXTime FXSystem::localTimeZoneOffset(){
+@@ -268,8 +268,11 @@ FXTime FXSystem::localTimeZoneOffset(){
setuplocaltimezone();
#if defined(WIN32)
return minutes*tzi.Bias; // +minutes*tzi.StandardBias;
-#elif defined(__FreeBSD__) || defined(__OpenBSD__)
- return 0; // FIXME
-+#elif defined(__FreeBSD__) && __FreeBSD_version < 1500015 || defined (__OpenBSD__)
++#elif defined(__FreeBSD__) && __FreeBSD_version < 1500015
+ struct tm tmresult;
+ time_t tmp=time(&tmp);
+ struct tm* ptm=localtime_r(&tmp,&tmresult);
@@ -34,13 +37,13 @@ After [3], use the base implementations of 'daylight' and 'timezone'.
#else
return seconds*timezone;
#endif
-@@ -277,8 +280,8 @@ FXTime FXSystem::daylightSavingsOffset(){
+@@ -281,8 +284,8 @@ FXTime FXSystem::daylightSavingsOffset(){
setuplocaltimezone();
#if defined(WIN32)
return minutes*tzi.DaylightBias; // Or difference between standard and daylight bias.
-#elif defined(__FreeBSD__) || defined(__OpenBSD__)
- return 0; // FIXME
-+#elif defined(__FreeBSD__) && __FreeBSD_version < 1500015 || defined (__OpenBSD__)
++#elif defined(__FreeBSD__) && __FreeBSD_version < 1500015
+ return -hours*((tzname[1][0] == ' ') ? 0 : 1);
#else
return -hours*daylight;
diff --git a/x11-toolkits/fox17/files/patch-lib_FXThread.cpp b/x11-toolkits/fox17/files/patch-lib_FXThread.cpp
index b09a711dd733..d604d48aa89c 100644
--- a/x11-toolkits/fox17/files/patch-lib_FXThread.cpp
+++ b/x11-toolkits/fox17/files/patch-lib_FXThread.cpp
@@ -1,6 +1,6 @@
---- lib/FXThread.cpp.orig 2025-05-01 10:27:45 UTC
+--- lib/FXThread.cpp.orig 2025-06-26 02:08:06 UTC
+++ lib/FXThread.cpp
-@@ -387,7 +387,7 @@ FXTime FXThread::ticks(){
+@@ -386,7 +386,7 @@ FXTime FXThread::ticks(){
tbl&=-(FXint)(tbu0==tbu1);
return (((FXTime)tbu1) << 32) | tbl;
#elif (_POSIX_C_SOURCE >= 199309L)
diff --git a/x11-toolkits/fox17/pkg-plist b/x11-toolkits/fox17/pkg-plist
index 72119f0955e3..9ffe4716e5d7 100644
--- a/x11-toolkits/fox17/pkg-plist
+++ b/x11-toolkits/fox17/pkg-plist
@@ -228,6 +228,7 @@ include/fox-%%MAJORVER%%/FXPacker.h
include/fox-%%MAJORVER%%/FXParallel.h
include/fox-%%MAJORVER%%/FXParseBuffer.h
include/fox-%%MAJORVER%%/FXPath.h
+include/fox-%%MAJORVER%%/FXPathBox.h
include/fox-%%MAJORVER%%/FXPerformance.h
include/fox-%%MAJORVER%%/FXPicker.h
include/fox-%%MAJORVER%%/FXPipe.h
@@ -378,11 +379,11 @@ include/fox-%%MAJORVER%%/xincs.h
lib/libCHART-%%MAJORVER%%.a
lib/libCHART-%%MAJORVER%%.so
lib/libCHART-%%MAJORVER%%.so.0
-lib/libCHART-%%MAJORVER%%.so.0.0.86
+lib/libCHART-%%MAJORVER%%.so.0.0.%%PATCHVER%%
lib/libFOX-%%MAJORVER%%.a
lib/libFOX-%%MAJORVER%%.so
lib/libFOX-%%MAJORVER%%.so.0
-lib/libFOX-%%MAJORVER%%.so.0.0.86
+lib/libFOX-%%MAJORVER%%.so.0.0.%%PATCHVER%%
libdata/pkgconfig/fox17.pc
share/man/man1/ControlPanel-17.1.gz
%%PORTEXAMPLES%%share/man/man1/PathFinder-17.1.gz