git: 4c463df3afd4 - main - devel/autoconf: Update to 2.73

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Tue, 31 Mar 2026 13:53:42 UTC
The branch main has been updated by tijl:

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

commit 4c463df3afd4e57a851c625e87fd729179785c79
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2026-03-21 11:32:18 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2026-03-31 13:52:28 +0000

    devel/autoconf: Update to 2.73
    
    cad/alliance, databases/proxysql, deskutils/growl-for-linux,
    emulators/wine-proton, net/yate, sysutils/grub2-efi,
    sysutils/grub2-pcbsd: Add USE_CSTD=gnu11 because autoconf 2.73 tries
    to use C23 and these ports are broken with that.
    
    PR:             293963
    Exp-run by:     antoine
---
 Mk/Uses/autoreconf.mk                           |   4 +-
 cad/alliance/Makefile                           |   1 +
 databases/proxysql/Makefile                     |   9 +-
 deskutils/growl-for-linux/Makefile              |   1 +
 devel/autoconf/Makefile                         |   3 +-
 devel/autoconf/distinfo                         |   6 +-
 devel/autoconf/files/patch-01-bin_autoreconf.in | 159 ------------------------
 devel/autoconf/files/patch-02-bin_autoreconf.in | 102 ---------------
 devel/autoconf/files/patch-bin_autoreconf.in    |  10 +-
 devel/autoconf/pkg-plist                        |  17 +--
 emulators/wine-proton/Makefile                  |   1 +
 net/yate/Makefile                               |   1 +
 security/krb5-121/files/patch-configure.ac      |  11 +-
 security/krb5-122/files/patch-configure.ac      |   9 +-
 security/krb5-devel/files/patch-configure.ac    |  11 +-
 sysutils/grub2-efi/Makefile                     |   1 +
 sysutils/grub2-pcbsd/Makefile                   |   1 +
 17 files changed, 53 insertions(+), 294 deletions(-)

diff --git a/Mk/Uses/autoreconf.mk b/Mk/Uses/autoreconf.mk
index 608027f599ff..74cb4d201356 100644
--- a/Mk/Uses/autoreconf.mk
+++ b/Mk/Uses/autoreconf.mk
@@ -88,8 +88,8 @@ _INCLUDE_USES_AUTORECONF_POST_MK=	yes
 _AUTORECONF=	2.69
 BUILD_DEPENDS+=	autoconf2.69>=2.69:devel/autoconf2.69
 .  else
-_AUTORECONF=	2.72
-BUILD_DEPENDS+=	autoconf>=2.72_1:devel/autoconf
+_AUTORECONF=	2.73
+BUILD_DEPENDS+=	autoconf>=${_AUTORECONF}:devel/autoconf
 .  endif
 
 BUILD_DEPENDS+=	automake>=1.18.1:devel/automake
diff --git a/cad/alliance/Makefile b/cad/alliance/Makefile
index f32bc7b891f1..99252e211871 100644
--- a/cad/alliance/Makefile
+++ b/cad/alliance/Makefile
@@ -22,6 +22,7 @@ GL_ACCOUNT=	vlsi-eda
 GL_TAGNAME=	ebece102e15c110fc79f1da50524c68fd9523f0c
 
 USES=		autoreconf:build gmake libtool magick:build motif tar:bz2 tex xorg
+USE_CSTD=	gnu11
 USE_GCC=	yes
 USE_TEX=	dvipsk:build latex:build
 USE_XORG=	ice sm x11 xext xt
diff --git a/databases/proxysql/Makefile b/databases/proxysql/Makefile
index ece744a43237..773d7c3983db 100644
--- a/databases/proxysql/Makefile
+++ b/databases/proxysql/Makefile
@@ -11,20 +11,19 @@ WWW=		https://www.proxysql.com/
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	aclocal:devel/automake \
-		autoreconf:devel/autoconf \
-		bash:shells/bash \
+BUILD_DEPENDS=	bash:shells/bash \
 		cmake:devel/cmake-core \
 		ggrep:textproc/gnugrep \
 		libgcrypt>0:security/libgcrypt \
-		libtoolize:devel/libtool \
 		libevent>0:devel/libevent \
 		gnutls>0:security/gnutls
 LIB_DEPENDS=	libuuid.so:misc/libuuid
 RUN_DEPENDS=	libgcrypt>0:security/libgcrypt \
 		gnutls>0:security/gnutls
 
-USES=		bison:build compiler:c++11-lang gmake libtool perl5 pkgconfig python:build ssl
+USES=		autoreconf:build bison:build compiler:c++11-lang gmake \
+		libtool perl5 pkgconfig python:build ssl
+USE_CSTD=	gnu11
 USE_PERL5=	build
 USE_GCC=	yes
 MAKE_ENV=	GIT_VERSION_BASE="${PORTVERSION}" SOURCE_DATE_EPOCH="$$(date +%s)"
diff --git a/deskutils/growl-for-linux/Makefile b/deskutils/growl-for-linux/Makefile
index a4dee9fb60e3..e7fbe3f81154 100644
--- a/deskutils/growl-for-linux/Makefile
+++ b/deskutils/growl-for-linux/Makefile
@@ -35,6 +35,7 @@ PLIST_SUB=	DESKTOPDIR=${DESKTOPDIR:S,^${PREFIX}/,,}
 
 USES=		autoreconf compiler:nestedfct gnome libtool pkgconfig sqlite:3 \
 		ssl
+USE_CSTD=	gnu11
 USE_GITHUB=	yes
 USE_GNOME=	cairo gdkpixbuf gtk20 libxml2
 USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}/display \
diff --git a/devel/autoconf/Makefile b/devel/autoconf/Makefile
index a19565396ebe..f19634f3b0ca 100644
--- a/devel/autoconf/Makefile
+++ b/devel/autoconf/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	autoconf
-DISTVERSION=	2.72
-PORTREVISION=	1
+DISTVERSION=	2.73
 CATEGORIES=	devel
 MASTER_SITES=	GNU
 
diff --git a/devel/autoconf/distinfo b/devel/autoconf/distinfo
index 360c958bc9bb..3eb33f051c38 100644
--- a/devel/autoconf/distinfo
+++ b/devel/autoconf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1709723659
-SHA256 (autoconf-2.72.tar.xz) = ba885c1319578d6c94d46e9b0dceb4014caafe2490e437a0dbca3f270a223f5a
-SIZE (autoconf-2.72.tar.xz) = 1389680
+TIMESTAMP = 1774091370
+SHA256 (autoconf-2.73.tar.xz) = 9fd672b1c8425fac2fa67fa0477b990987268b90ff36d5f016dae57be0d6b52e
+SIZE (autoconf-2.73.tar.xz) = 1417428
diff --git a/devel/autoconf/files/patch-01-bin_autoreconf.in b/devel/autoconf/files/patch-01-bin_autoreconf.in
deleted file mode 100644
index db203ab42277..000000000000
--- a/devel/autoconf/files/patch-01-bin_autoreconf.in
+++ /dev/null
@@ -1,159 +0,0 @@
-From e2a4935b45f273410e975ecf56ab26ad72855df0 Mon Sep 17 00:00:00 2001
-From: Bruno Haible <bruno@clisp.org>
-Date: Wed, 2 Jul 2025 02:43:41 +0200
-Subject: [PATCH 1/2] autoreconf: Invoke autopoint in more situations.
-
-Reported in <https://savannah.gnu.org/support/?111272>.
-
-* bin/autoreconf.in (autoreconf_current_directory): Invoke autopoint also when
-the package uses AM_GNU_GETTEXT (without AM_GNU_GETTEXT_VERSION), AM_PO_SUBDIRS,
-AM_ICONV, AC_LIB_LINKFLAGS, AC_LIB_HAVE_LINKFLAGS, AC_LIB_LINKFLAGS_FROM_LIBS,
-or GUILE_FLAGS.
----
- bin/autoreconf.in | 80 ++++++++++++++++++++++++++++++++++++++++++++---
- 1 file changed, 76 insertions(+), 4 deletions(-)
-
-diff --git a/bin/autoreconf.in b/bin/autoreconf.in
-index a5ffc6fa..207900df 100644
---- bin/autoreconf.in
-+++ bin/autoreconf.in
-@@ -440,6 +440,8 @@ sub autoreconf_current_directory ($)
-   # ---------------------- #
- 
-   my $uses_autoconf;
-+  my $uses_liblink;
-+  my $uses_iconv;
-   my $uses_gettext;
-   if (-f $configure_ac)
-     {
-@@ -449,8 +451,13 @@ sub autoreconf_current_directory ($)
- 	  s/#.*//;
- 	  s/dnl.*//;
- 	  $uses_autoconf = 1 if /AC_INIT/;
-+	  $uses_liblink = 1 if /AC_LIB_HAVE_LINKFLAGS/;
-+	  $uses_liblink = 1 if /AC_LIB_LINKFLAGS/;
-+	  $uses_liblink = 1 if /AC_LIB_LINKFLAGS_FROM_LIBS/;
-+	  $uses_iconv = 1 if /AM_ICONV/;
- 	  # See below for why we look for gettext here.
--	  $uses_gettext = 1  if /^AM_GNU_GETTEXT_(?:REQUIRE_)?VERSION/;
-+	  $uses_gettext = 1 if /AM_GNU_GETTEXT/;
-+	  $uses_gettext = 1 if /AM_PO_SUBDIRS/;
- 	}
-       if (!$uses_autoconf)
-         {
-@@ -485,7 +492,7 @@ sub autoreconf_current_directory ($)
-   # Actually, it is even more restrictive, as it greps for
-   # '^AM_GNU_GETTEXT_(REQUIRE_)?VERSION('.  We did this above, while
-   # scanning configure.ac.
--  if (!$uses_gettext)
-+  if (!$uses_liblink && !$uses_iconv && !$uses_gettext)
-     {
-       verb "$configure_ac: not using Gettext";
-     }
-@@ -495,8 +502,21 @@ sub autoreconf_current_directory ($)
-     }
-   else
-     {
--      xsystem_hint ("autopoint is needed because this package uses Gettext",
--                    $autopoint);
-+      if ($uses_gettext)
-+        {
-+          xsystem_hint ("autopoint is needed because this package uses Gettext",
-+                        $autopoint);
-+        }
-+      elsif ($uses_iconv)
-+        {
-+          xsystem_hint ("autopoint is needed because this package uses AM_ICONV",
-+                        $autopoint);
-+        }
-+      elsif ($uses_liblink)
-+        {
-+          xsystem_hint ("autopoint is needed because this package uses AC_LIB_LINKFLAGS",
-+                        $autopoint);
-+        }
-     }
- 
- 
-@@ -576,6 +596,8 @@ sub autoreconf_current_directory ($)
-   # from the final autoconf invocation.
-   my $aux_dir;
-   my @aux_files;
-+  my $uses_liblink_via_traces;
-+  my $uses_iconv_via_traces;
-   my $uses_gettext_via_traces;
-   my $uses_libtool;
-   my $uses_intltool;
-@@ -603,6 +625,11 @@ sub autoreconf_current_directory ($)
-                'AM_PROG_LIBTOOL',
-                'LT_INIT',
-                'LT_CONFIG_LTDL_DIR',
-+               'AC_LIB_LINKFLAGS',
-+               'AC_LIB_HAVE_LINKFLAGS',
-+               'AC_LIB_LINKFLAGS_FROM_LIBS',
-+               'GUILE_FLAGS',
-+               'AM_ICONV',
-                'AM_GNU_GETTEXT',
-                'AM_INIT_AUTOMAKE',
-                'GTK_DOC_CHECK',
-@@ -617,6 +644,15 @@ sub autoreconf_current_directory ($)
-       $aux_dir = $args[0]           if $macro eq "AC_CONFIG_AUX_DIR";
-       push @aux_files, $args[0]     if $macro eq "AC_REQUIRE_AUX_FILE";
-       $uses_autoconf = 1            if $macro eq "AC_INIT";
-+      # Here we need to explicitly test for GUILE_FLAGS, because in the
-+      # typical situation where configure.ac invokes GUILE_FLAGS,
-+      # guile.m4 defines GUILE_FLAGS and uses AC_LIB_LINKFLAGS_FROM_LIBS,
-+      # the traces still for AC_LIB_LINKFLAGS_FROM_LIBS are empty.
-+      $uses_liblink_via_traces = 1  if $macro eq "AC_LIB_LINKFLAGS"
-+                                       || $macro eq "AC_LIB_HAVE_LINKFLAGS"
-+                                       || $macro eq "AC_LIB_LINKFLAGS_FROM_LIBS"
-+                                       || $macro eq "GUILE_FLAGS";
-+      $uses_iconv_via_traces = 1    if $macro eq "AM_ICONV";
-       $uses_gettext_via_traces = 1  if $macro eq "AM_GNU_GETTEXT";
-       $uses_libtool = 1             if $macro eq "AC_PROG_LIBTOOL"
-                                        || $macro eq "AM_PROG_LIBTOOL"
-@@ -741,6 +777,42 @@ sub autoreconf_current_directory ($)
-     }
- 
- 
-+  # --------------------------------------------- #
-+  # Running autopoint, if not already run above.  #
-+  # --------------------------------------------- #
-+
-+  if (!$uses_liblink_via_traces && !$uses_iconv_via_traces && !$uses_gettext_via_traces)
-+    {
-+      verb "$configure_ac: not needing autopoint";
-+    }
-+  elsif (!$install)
-+    {
-+      verb "$configure_ac: not running autopoint: --install not given";
-+    }
-+  elsif ($uses_liblink || $uses_iconv || $uses_gettext)
-+    {
-+      verb "$configure_ac: not running autopoint a second time";
-+    }
-+  else
-+    {
-+      if ($uses_gettext_via_traces)
-+        {
-+          xsystem_hint ("autopoint is needed because this package uses Gettext",
-+                        $autopoint);
-+        }
-+      elsif ($uses_iconv_via_traces)
-+        {
-+          xsystem_hint ("autopoint is needed because this package uses AM_ICONV",
-+                        $autopoint);
-+        }
-+      elsif ($uses_liblink_via_traces)
-+        {
-+          xsystem_hint ("autopoint is needed because this package uses AC_LIB_LINKFLAGS",
-+                        $autopoint);
-+        }
-+    }
-+
-+
-   # ------------------- #
-   # Rerunning aclocal.  #
-   # ------------------- #
--- 
-2.43.0
-
diff --git a/devel/autoconf/files/patch-02-bin_autoreconf.in b/devel/autoconf/files/patch-02-bin_autoreconf.in
deleted file mode 100644
index e5da001e84d6..000000000000
--- a/devel/autoconf/files/patch-02-bin_autoreconf.in
+++ /dev/null
@@ -1,102 +0,0 @@
-From d75171fdf8d03d2e070fcc3dbb5afb942dbd7828 Mon Sep 17 00:00:00 2001
-From: Bruno Haible <bruno@clisp.org>
-Date: Sat, 5 Jul 2025 17:20:11 +0200
-Subject: [PATCH] autoreconf: Adapt to the on-disk situation after autopoint
- has run.
-
-Reported in <https://savannah.gnu.org/support/?111273>.
-
-* bin/autoreconf.in (autoreconf_current_directory): After invoking autopoint,
-rerun aclocal. When doing so, pass extra options "-I m4" if the configure.ac
-does not specify a macro dir.
----
- bin/autoreconf.in | 24 ++++++++++++++++++++++++
- 1 file changed, 24 insertions(+)
-
-diff --git a/bin/autoreconf.in b/bin/autoreconf.in
-index 3f6a74fe..eb0d96a9 100644
---- bin/autoreconf.in
-+++ bin/autoreconf.in
-@@ -489,6 +489,7 @@ sub autoreconf_current_directory ($)
-   # Actually, it is even more restrictive, as it greps for
-   # '^AM_GNU_GETTEXT_(REQUIRE_)?VERSION('.  We did this above, while
-   # scanning configure.ac.
-+  my $invoked_autopoint;
-   if (!$uses_liblink && !$uses_iconv && !$uses_gettext)
-     {
-       verb "$configure_ac: not using Gettext";
-@@ -514,6 +515,7 @@ sub autoreconf_current_directory ($)
-           xsystem_hint ("autopoint is needed because this package uses AC_LIB_LINKFLAGS",
-                         $autopoint);
-         }
-+      $invoked_autopoint = 1;
-     }
- 
- 
-@@ -593,6 +595,7 @@ sub autoreconf_current_directory ($)
-   # from the final autoconf invocation.
-   my $aux_dir;
-   my @aux_files;
-+  my @macro_dirs;
-   my $uses_liblink_via_traces;
-   my $uses_iconv_via_traces;
-   my $uses_gettext_via_traces;
-@@ -616,6 +619,8 @@ sub autoreconf_current_directory ($)
-                'AC_CONFIG_AUX_DIR',
-                'AC_CONFIG_HEADERS',
-                'AC_CONFIG_SUBDIRS',
-+               'AC_CONFIG_MACRO_DIR_TRACE',
-+               'AC_CONFIG_MACRO_DIR',
-                'AC_INIT',
-                'AC_REQUIRE_AUX_FILE',
-                'AC_PROG_LIBTOOL',
-@@ -640,6 +645,8 @@ sub autoreconf_current_directory ($)
-       my ($macro, @args) = split (/::/);
-       $aux_dir = $args[0]           if $macro eq "AC_CONFIG_AUX_DIR";
-       push @aux_files, $args[0]     if $macro eq "AC_REQUIRE_AUX_FILE";
-+      push @macro_dirs, $args[0]    if $macro eq "AC_CONFIG_MACRO_DIR_TRACE"
-+                                       || $macro eq "AC_CONFIG_MACRO_DIR";
-       $uses_autoconf = 1            if $macro eq "AC_INIT";
-       # Here we need to explicitly test for GUILE_FLAGS, because in the
-       # typical situation where configure.ac invokes GUILE_FLAGS,
-@@ -679,6 +686,15 @@ sub autoreconf_current_directory ($)
- 	}
-     }
- 
-+  # When configure.ac does not specify a macro dir, autopoint has
-+  # created a directory named 'm4' and copied its *.m4 files into it.
-+  # In this case, we need to rerun 'aclocal', in order to pass it the
-+  # options "-I m4" this time.
-+  if ($invoked_autopoint && !@macro_dirs)
-+    {
-+      $rerun_aclocal = 1;
-+    }
-+
-   # Gettext consistency checks.
-   # Some projects intentionally don't call AM_GNU_GETTEXT_(REQUIRE_)VERSION
-   # because they have all of the gettext infrastructure checked into version
-@@ -807,6 +823,8 @@ sub autoreconf_current_directory ($)
-           xsystem_hint ("autopoint is needed because this package uses AC_LIB_LINKFLAGS",
-                         $autopoint);
-         }
-+      $invoked_autopoint = 1;
-+      $rerun_aclocal = 1;
-     }
- 
- 
-@@ -824,6 +842,12 @@ sub autoreconf_current_directory ($)
- 	}
-       else
- 	{
-+	  # When configure.ac does not specify a macro dir, autopoint has
-+	  # created a directory named 'm4' and copied its *.m4 files into it.
-+	  if ($invoked_autopoint && !@macro_dirs)
-+	    {
-+	      $aclocal_flags .= " -I m4";
-+	    }
- 	  xsystem ("$aclocal $aclocal_flags");
- 	}
-     }
--- 
-2.43.0
-
diff --git a/devel/autoconf/files/patch-bin_autoreconf.in b/devel/autoconf/files/patch-bin_autoreconf.in
index 6d94c0774c85..0f2d17044cd2 100644
--- a/devel/autoconf/files/patch-bin_autoreconf.in
+++ b/devel/autoconf/files/patch-bin_autoreconf.in
@@ -1,10 +1,10 @@
---- bin/autoreconf.in.orig	2012-04-24 22:00:28 UTC
+--- bin/autoreconf.in.orig	2026-03-18 13:15:05 UTC
 +++ bin/autoreconf.in
-@@ -692,6 +692,7 @@ parse_args;
+@@ -1184,6 +1184,7 @@ parse_args;
  
- # Autoreconf all the given configure.ac.  Unless `--no-recursive' is passed,
+ # Autoreconf all the given configure.ac.  Unless '--no-recursive' is passed,
  # AC_CONFIG_SUBDIRS will be traversed in &autoreconf_current_directory.
-+$ENV{'AUTOCONF'} = $autoconf;
- $ENV{'AUTOM4TE'} = $autom4te;
++$ENV{'AUTOCONF'} = $C{autoconf};
+ $ENV{'AUTOM4TE'} = $C{autom4te};
  for my $directory (@ARGV)
    {
diff --git a/devel/autoconf/pkg-plist b/devel/autoconf/pkg-plist
index 984069562fbe..203bb52cb983 100644
--- a/devel/autoconf/pkg-plist
+++ b/devel/autoconf/pkg-plist
@@ -5,13 +5,6 @@ bin/autoreconf%%VERSION%%
 bin/autoscan%%VERSION%%
 bin/autoupdate%%VERSION%%
 bin/ifnames%%VERSION%%
-share/man/man1/autoconf%%VERSION%%.1.gz
-share/man/man1/autoheader%%VERSION%%.1.gz
-share/man/man1/autom4te%%VERSION%%.1.gz
-share/man/man1/autoreconf%%VERSION%%.1.gz
-share/man/man1/autoscan%%VERSION%%.1.gz
-share/man/man1/autoupdate%%VERSION%%.1.gz
-share/man/man1/ifnames%%VERSION%%.1.gz
 %%DATADIR%%/Autom4te/C4che.pm
 %%DATADIR%%/Autom4te/ChannelDefs.pm
 %%DATADIR%%/Autom4te/Channels.pm
@@ -23,6 +16,7 @@ share/man/man1/ifnames%%VERSION%%.1.gz
 %%DATADIR%%/Autom4te/Request.pm
 %%DATADIR%%/Autom4te/XFile.pm
 %%DATADIR%%/INSTALL
+%%DATADIR%%/autoconf/a68.m4
 %%DATADIR%%/autoconf/autoconf.m4
 %%DATADIR%%/autoconf/autoconf.m4f
 %%DATADIR%%/autoconf/autoheader.m4
@@ -44,6 +38,7 @@ share/man/man1/ifnames%%VERSION%%.1.gz
 %%DATADIR%%/autoconf/status.m4
 %%DATADIR%%/autoconf/trailer.m4
 %%DATADIR%%/autoconf/types.m4
+%%DATADIR%%/autoconf_version.m4
 %%DATADIR%%/autom4te.cfg
 %%DATADIR%%/autoscan/autoscan.list
 %%DATADIR%%/autotest/autotest.m4
@@ -58,4 +53,10 @@ share/man/man1/ifnames%%VERSION%%.1.gz
 %%DATADIR%%/m4sugar/m4sh.m4f
 %%DATADIR%%/m4sugar/m4sugar.m4
 %%DATADIR%%/m4sugar/m4sugar.m4f
-%%DATADIR%%/version.m4
+share/man/man1/autoconf%%VERSION%%.1.gz
+share/man/man1/autoheader%%VERSION%%.1.gz
+share/man/man1/autom4te%%VERSION%%.1.gz
+share/man/man1/autoreconf%%VERSION%%.1.gz
+share/man/man1/autoscan%%VERSION%%.1.gz
+share/man/man1/autoupdate%%VERSION%%.1.gz
+share/man/man1/ifnames%%VERSION%%.1.gz
diff --git a/emulators/wine-proton/Makefile b/emulators/wine-proton/Makefile
index 30e58d1a6aa7..20459de2c884 100644
--- a/emulators/wine-proton/Makefile
+++ b/emulators/wine-proton/Makefile
@@ -31,6 +31,7 @@ LIB_DEPENDS+=	libwayland-client.so:graphics/wayland \
 		libxkbregistry.so:x11/libxkbcommon
 
 USES=		autoreconf bison desktop-file-utils gl gmake gnome gstreamer llvm:${_LLVM_VERSION},build localbase perl5 pkgconfig python:build sdl shebangfix tar:xz xorg
+USE_CSTD=	gnu11
 USE_GCC=	yes
 
 USE_GITHUB=	yes
diff --git a/net/yate/Makefile b/net/yate/Makefile
index 376b6cd826be..34234dcf8a90 100644
--- a/net/yate/Makefile
+++ b/net/yate/Makefile
@@ -17,6 +17,7 @@ LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		libspeex.so:audio/speex
 
 USES=		autoreconf bison gmake shebangfix
+USE_CSTD=	gnu11
 USE_GITHUB=	yes
 GH_ACCOUNT=	yatevoip
 GH_TAGNAME=	e0a20c4
diff --git a/security/krb5-121/files/patch-configure.ac b/security/krb5-121/files/patch-configure.ac
index abbae0e771b3..8f1c09f85087 100644
--- a/security/krb5-121/files/patch-configure.ac
+++ b/security/krb5-121/files/patch-configure.ac
@@ -1,6 +1,11 @@
---- configure.ac.orig	2023-08-07 11:38:21.000000000 -0700
-+++ configure.ac	2023-08-09 14:49:19.833149000 -0700
-@@ -1356,8 +1356,12 @@
+--- configure.ac.orig	2024-06-26 20:00:35 UTC
++++ configure.ac
+@@ -1,3 +1,4 @@
++define(autoreconf2.73_looks_for, [AC_INIT])
+ K5_AC_INIT([aclocal.m4])
+ 
+ # If $runstatedir isn't set by autoconf (<2.70), set it manually.
+@@ -1357,8 +1358,12 @@ if test "x$with_libedit" != xno; then
      AC_DEFINE([HAVE_LIBEDIT], 1, [Define if building with libedit.])
      AC_MSG_NOTICE([Using libedit for readline support])
    elif test "x$with_libedit" = xyes; then
diff --git a/security/krb5-122/files/patch-configure.ac b/security/krb5-122/files/patch-configure.ac
index c5348a6d82dd..2969a200bfcd 100644
--- a/security/krb5-122/files/patch-configure.ac
+++ b/security/krb5-122/files/patch-configure.ac
@@ -1,6 +1,11 @@
---- configure.ac.orig	2025-08-05 14:15:15 UTC
+--- configure.ac.orig	2025-08-20 19:44:32 UTC
 +++ configure.ac
-@@ -1365,8 +1365,12 @@ if test "x$with_libedit" != xno; then
+@@ -1,3 +1,4 @@
++define(autoreconf2.73_looks_for, [AC_INIT])
+ K5_AC_INIT([aclocal.m4])
+ 
+ # If $runstatedir isn't set by autoconf (<2.70), set it manually.
+@@ -1365,8 +1366,12 @@ if test "x$with_libedit" != xno; then
      AC_DEFINE([HAVE_LIBEDIT], 1, [Define if building with libedit.])
      AC_MSG_NOTICE([Using libedit for readline support])
    elif test "x$with_libedit" = xyes; then
diff --git a/security/krb5-devel/files/patch-configure.ac b/security/krb5-devel/files/patch-configure.ac
index abbae0e771b3..20dda6fb48a2 100644
--- a/security/krb5-devel/files/patch-configure.ac
+++ b/security/krb5-devel/files/patch-configure.ac
@@ -1,6 +1,11 @@
---- configure.ac.orig	2023-08-07 11:38:21.000000000 -0700
-+++ configure.ac	2023-08-09 14:49:19.833149000 -0700
-@@ -1356,8 +1356,12 @@
+--- configure.ac.orig	2026-02-13 01:44:19 UTC
++++ configure.ac
+@@ -1,3 +1,4 @@
++define(autoreconf2.73_looks_for, [AC_INIT])
+ K5_AC_INIT([aclocal.m4])
+ 
+ # If $runstatedir isn't set by autoconf (<2.70), set it manually.
+@@ -1373,8 +1374,12 @@ if test "x$with_libedit" != xno; then
      AC_DEFINE([HAVE_LIBEDIT], 1, [Define if building with libedit.])
      AC_MSG_NOTICE([Using libedit for readline support])
    elif test "x$with_libedit" = xyes; then
diff --git a/sysutils/grub2-efi/Makefile b/sysutils/grub2-efi/Makefile
index 3f15a3329f5c..8e47480ee764 100644
--- a/sysutils/grub2-efi/Makefile
+++ b/sysutils/grub2-efi/Makefile
@@ -19,6 +19,7 @@ BUILD_DEPENDS=	${LOCALBASE}/bin/flex:textproc/flex \
 
 ONLY_FOR_ARCHS=	amd64
 USES=		autoreconf:build bison cpe gettext gmake python tar:xz
+USE_CSTD=	gnu11
 
 WRKSRC=		${WRKDIR}/grub-${PORTVERSION}
 INSTALL_WRKSRC=	${WRKSRC}/grub-core
diff --git a/sysutils/grub2-pcbsd/Makefile b/sysutils/grub2-pcbsd/Makefile
index a5e71cf5371e..92915e867b43 100644
--- a/sysutils/grub2-pcbsd/Makefile
+++ b/sysutils/grub2-pcbsd/Makefile
@@ -17,6 +17,7 @@ BUILD_DEPENDS=	${LOCALBASE}/bin/flex:textproc/flex \
 
 ONLY_FOR_ARCHS=	amd64
 USES=		autoreconf:build bison cpe gettext gmake makeinfo pkgconfig python tar:xz
+USE_CSTD=	gnu11
 
 WRKSRC=		${WRKDIR}/grub-2.02
 CONFLICTS=	grub2-2*