I added DBL_DECIMAL_DIG to float.h today. Local defines are no longer
required.
Index: net/bro/Makefile
===================================================================
RCS file: /cvs/ports/net/bro/Makefile,v
diff -u -p -r1.169 Makefile
--- net/bro/Makefile 10 Sep 2026 13:26:29 -0000 1.169
+++ net/bro/Makefile 25 Nov 2026 02:35:10 -0000
@@ -27,8 +27,6 @@ MODULES = devel/cmake \
# c++20
COMPILER = base-clang ports-gcc
-# XXX src/modp_numtoa.c:174:30: error: use of undeclared identifier
'DBL_DECIMAL_DIG'
-CFLAGS += -DDBL_DECIMAL_DIG=__DBL_DECIMAL_DIG__
MODPY_ADJ_FILES = auxil/package-manager/zkg \
auxil/zeek-client/zeek-client \
Index: math/gunits/Makefile
===================================================================
RCS file: /cvs/ports/math/gunits/Makefile,v
diff -u -p -r1.20 Makefile
--- math/gunits/Makefile 20 Sep 2026 16:24:24 -0000 1.20
+++ math/gunits/Makefile 25 Nov 2026 02:30:26 -0000
@@ -23,9 +23,6 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --program-prefix=g \
--sharedstatedir=${PREFIX}/share
-# XXX units.c:5845:43: error: use of undeclared identifier 'DBL_DECIMAL_DIG'
-CFLAGS += -DDBL_DECIMAL_DIG=__DBL_DECIMAL_DIG__
-
# needs network connection
TEST_IS_INTERACTIVE= Yes
Index: textproc/libfyaml/Makefile
===================================================================
RCS file: /cvs/ports/textproc/libfyaml/Makefile,v
diff -u -p -r1.5 Makefile
--- textproc/libfyaml/Makefile 24 Jul 2026 11:39:16 -0000 1.5
+++ textproc/libfyaml/Makefile 25 Nov 2026 02:31:26 -0000
@@ -29,9 +29,6 @@ CONFIGURE_ENV= ac_cv_path_GIT= \
ac_cv_path_JQ= \
ac_cv_path_DOCKER=
-# XXX lib/fy-walk.c:4621:31: error: use of undeclared identifier
'DBL_DECIMAL_DIG'
-CFLAGS += -DDBL_DECIMAL_DIG=__DBL_DECIMAL_DIG__
-
pre-configure:
grep -rl "#include <alloca\\.h>" ${WRKSRC} | \
xargs sed -i "s|#include <alloca\\.h>|#include <stdlib.h>|"