[packages/autoconf] - updated to 2.73
qboosh
qboosh at pld-linux.org
Sat May 9 19:27:05 CEST 2026
commit e63eb307bf80cc0061250aaa2db761dd9093a219
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat May 9 19:27:00 2026 +0200
- updated to 2.73
autoconf-info.patch | 6 ++--
autoconf-largefile.patch | 87 ------------------------------------------------
autoconf-mawk.patch | 44 ++++++++++++------------
autoconf-mksh.patch | 16 ++++-----
autoconf.spec | 9 ++---
5 files changed, 35 insertions(+), 127 deletions(-)
---
diff --git a/autoconf.spec b/autoconf.spec
index b094939..fa3a0a5 100644
--- a/autoconf.spec
+++ b/autoconf.spec
@@ -15,13 +15,13 @@ Summary(pt_BR.UTF-8): GNU autoconf - ferramentas de configuração de fontes
Summary(ru.UTF-8): GNU autoconf - автоконфигуратор исходных текстов
Summary(uk.UTF-8): GNU autoconf - автоконфігуратор вихідних текстів
Name: autoconf
-Version: 2.72
-Release: 4
+Version: 2.73
+Release: 1
License: GPL v2+/v3+
Group: Development/Building
# stable releases:
Source0: https://ftp.gnu.org/gnu/autoconf/%{name}-%{version}.tar.xz
-# Source0-md5: 1be79f7106ab6767f18391c5e22be701
+# Source0-md5: 9cbad9a116ef845bafeed8e7bc771bf4
# devel releases:
#Source0: http://alpha.gnu.org/gnu/autoconf/%{name}-%{version}.tar.bz2
Patch0: %{name}-mawk.patch
@@ -29,8 +29,6 @@ Patch1: %{name}-info.patch
Patch2: %{name}-AC_EGREP.patch
Patch3: %{name}-cxxcpp-warnonly.patch
Patch4: %{name}-mksh.patch
-# https://savannah.gnu.org/support/index.php?110983 (AC_SYS_LARGEFILE/AC_SYS_YEAR2038 test failures on ix86)
-Patch5: %{name}-largefile.patch
Patch6: %{name}-tests.patch
URL: http://www.gnu.org/software/autoconf/
%{?with_emacs:BuildRequires: emacs}
@@ -209,7 +207,6 @@ Tryb edycji autoconf dla emacsa.
%patch -P2 -p1
%patch -P3 -p1
%patch -P4 -p1
-%patch -P5 -p1
%patch -P6 -p1
%build
diff --git a/autoconf-info.patch b/autoconf-info.patch
index 000f1d8..40866fa 100644
--- a/autoconf-info.patch
+++ b/autoconf-info.patch
@@ -503,10 +503,10 @@
@section @command{configure} Invocation
@command{configure} recognizes the following options to control how it
---- autoconf-2.72/doc/standards.texi.orig 2023-12-25 17:45:48.491111639 +0100
-+++ autoconf-2.72/doc/standards.texi 2023-12-25 17:49:44.189834749 +0100
+--- autoconf-2.73/doc/standards.texi.orig 2026-02-24 15:14:02.000000000 +0100
++++ autoconf-2.73/doc/standards.texi 2026-05-09 18:03:52.744062510 +0200
@@ -6,9 +6,9 @@
- @set lastupdate August 17, 2021
+ @set lastupdate July 5, 2025
@c %**end of header
- at dircategory GNU organization
diff --git a/autoconf-largefile.patch b/autoconf-largefile.patch
deleted file mode 100644
index 02ad940..0000000
--- a/autoconf-largefile.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-From b71143738516017f0e0d347a4025301c06c40254 Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert at cs.ucla.edu>
-Date: Wed, 24 Apr 2024 14:47:56 -0700
-Subject: Port AC_SYS_LARGEFILE to C++
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Problem reported by Zack Weinberg
-<https://savannah.gnu.org/support/?110983>.
-* lib/autoconf/specific.m4 (_AC_SYS_YEAR2038_PROBE)
-(_AC_SYS_LARGEFILE_PROBE):
-In chatter, say it’s a CPPFLAGS option, not a CC option.
-(_AC_SYS_LARGEFILE_OPTIONS): Omit -n32, as we no longer
-need to worry about IRIX.
-(_AC_SYS_LARGEFILE_PROBE): Fiddle with CPPFLAGS, not CC,
-and don’t worry about -n32.
----
- lib/autoconf/specific.m4 | 18 +++++++-----------
- 1 file changed, 7 insertions(+), 11 deletions(-)
-
-diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4
-index a0e1fa8..0d0191a 100644
---- a/lib/autoconf/specific.m4
-+++ b/lib/autoconf/specific.m4
-@@ -132,7 +132,7 @@ m4_define([_AC_SYS_YEAR2038_OPTIONS], m4_normalize(
- # If you change this macro you may also need to change
- # _AC_SYS_YEAR2038_OPTIONS.
- AC_DEFUN([_AC_SYS_YEAR2038_PROBE],
--[AC_CACHE_CHECK([for $CC option for timestamps after 2038],
-+[AC_CACHE_CHECK([for $CPPFLAGS option for timestamps after 2038],
- [ac_cv_sys_year2038_opts],
- [ac_save_CPPFLAGS="$CPPFLAGS"
- ac_opt_found=no
-@@ -262,7 +262,6 @@ m4_define([_AC_SYS_LARGEFILE_OPTIONS], m4_normalize(
- ["none needed"] dnl Most current systems
- ["-D_FILE_OFFSET_BITS=64"] dnl X/Open LFS spec
- ["-D_LARGE_FILES=1"] dnl 32-bit AIX 4.2.1+, 32-bit z/OS
-- ["-n32"] dnl 32-bit IRIX 6, SGI cc (obsolete)
- ))
-
- # _AC_SYS_LARGEFILE_PROBE
-@@ -279,25 +278,25 @@ m4_define([_AC_SYS_LARGEFILE_OPTIONS], m4_normalize(
- # If you change this macro you may also need to change
- # _AC_SYS_LARGEFILE_OPTIONS.
- AC_DEFUN([_AC_SYS_LARGEFILE_PROBE],
--[AC_CACHE_CHECK([for $CC option to enable large file support],
-+[AC_CACHE_CHECK([for $CPPFLAGS option for large files],
- [ac_cv_sys_largefile_opts],
-- [ac_save_CC="$CC"
-+ [ac_save_CPPFLAGS=$CPPFLAGS
- ac_opt_found=no
- for ac_opt in _AC_SYS_LARGEFILE_OPTIONS; do
- AS_IF([test x"$ac_opt" != x"none needed"],
-- [CC="$ac_save_CC $ac_opt"])
-+ [CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"])
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_CODE])],
- [AS_IF([test x"$ac_opt" = x"none needed"],
- [# GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
-- CC="$CC -DFTYPE=ino_t"
-+ CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t"
- AC_COMPILE_IFELSE([], [],
-- [CC="$CC -D_FILE_OFFSET_BITS=64"
-+ [CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
- AC_COMPILE_IFELSE([], [ac_opt='-D_FILE_OFFSET_BITS=64'])])])
- ac_cv_sys_largefile_opts=$ac_opt
- ac_opt_found=yes])
- test $ac_opt_found = no || break
- done
-- CC="$ac_save_CC"
-+ CPPFLAGS=$ac_save_CPPFLAGS
- dnl Gnulib implements large file support for native Windows, based on the
- dnl variables WINDOWS_64_BIT_OFF_T, WINDOWS_64_BIT_ST_SIZE.
- m4_ifdef([gl_LARGEFILE], [
-@@ -327,9 +326,6 @@ AS_CASE([$ac_cv_sys_largefile_opts],
- [AC_DEFINE([_LARGE_FILES], [1],
- [Define to 1 on platforms where this makes off_t a 64-bit type.])],
-
-- ["-n32"],
-- [CC="$CC -n32"],
--
- [AC_MSG_ERROR(
- [internal error: bad value for \$ac_cv_sys_largefile_opts])])
-
---
-cgit v1.1
-
diff --git a/autoconf-mawk.patch b/autoconf-mawk.patch
index b0fa38e..845d57f 100644
--- a/autoconf-mawk.patch
+++ b/autoconf-mawk.patch
@@ -1,41 +1,39 @@
-diff -urNp -x '*.orig' autoconf-2.71.org/configure autoconf-2.71/configure
---- autoconf-2.71.org/configure 2021-01-28 22:06:02.000000000 +0100
-+++ autoconf-2.71/configure 2021-08-29 21:35:09.656146150 +0200
-@@ -2277,7 +2277,7 @@ fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
- printf "%s\n" "$MKDIR_P" >&6; }
+--- autoconf-2.73/configure.orig 2026-03-20 20:09:37.000000000 +0100
++++ autoconf-2.73/configure 2026-05-09 17:42:12.467773378 +0200
+@@ -2463,7 +2463,7 @@ fi
+ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+ printf '%s\n' "$MKDIR_P" >&6; }
--for ac_prog in gawk mawk nawk awk
-+for ac_prog in mawk gawk nawk awk
+-for ac_prog in gawk mawk nawk awk 'busybox awk'
++for ac_prog in mawk gawk nawk awk 'busybox awk'
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-diff -urNp -x '*.orig' autoconf-2.71.org/doc/autoconf.texi autoconf-2.71/doc/autoconf.texi
---- autoconf-2.71.org/doc/autoconf.texi 2021-01-28 21:46:48.000000000 +0100
-+++ autoconf-2.71/doc/autoconf.texi 2021-08-29 21:35:09.659479478 +0200
-@@ -4162,10 +4162,10 @@ in some cases whether they support certa
+--- autoconf-2.73/doc/autoconf.texi.orig 2026-03-17 18:04:30.000000000 +0100
++++ autoconf-2.73/doc/autoconf.texi 2026-05-09 17:46:07.513166695 +0200
+@@ -4202,11 +4202,11 @@ otherwise to @samp{:} (do nothing).
@acindex{PROG_AWK}
@ovindex AWK
@caindex prog_AWK
--Check for @code{gawk}, @code{mawk}, @code{nawk}, and @code{awk}, in that
-+Check for @code{mawk}, @code{gawk}, @code{nawk}, and @code{awk}, in that
+-Check for the commands @command{gawk}, @command{mawk},
++Check for the commands @command{mawk}, @command{gawk},
+ @command{nawk}, @command{awk}, and @code{busybox awk}, in that
order, and set output variable @code{AWK} to the first one that is found.
--It tries @code{gawk} first because that is reported to be the
+-Try @code{gawk} first because that is reported to be the
-best implementation. The result can be overridden by setting the
-+It tries @code{mawk} first because that is reported to be the
++Try @code{mawk} first because that is reported to be the
+implementation that our system usually runs. The result can be overridden by setting the
variable @code{AWK} or the cache variable @code{ac_cv_prog_AWK}.
- Using this macro is sufficient to avoid the pitfalls of traditional
-diff -urNp -x '*.orig' autoconf-2.71.org/lib/autoconf/programs.m4 autoconf-2.71/lib/autoconf/programs.m4
---- autoconf-2.71.org/lib/autoconf/programs.m4 2021-01-28 21:46:48.000000000 +0100
-+++ autoconf-2.71/lib/autoconf/programs.m4 2021-08-29 21:35:09.656146150 +0200
-@@ -348,7 +348,7 @@ AN_PROGRAM([gawk], [AC_PROG_AWK])
+ Using this macro avoids some pitfalls of older systems that have both
+--- autoconf-2.73/lib/autoconf/programs.m4.orig 2026-03-02 15:46:12.000000000 +0100
++++ autoconf-2.73/lib/autoconf/programs.m4 2026-05-09 17:43:30.607350060 +0200
+@@ -357,7 +357,7 @@ AN_PROGRAM([gawk], [AC_PROG_AWK])
AN_PROGRAM([mawk], [AC_PROG_AWK])
AN_PROGRAM([nawk], [AC_PROG_AWK])
AC_DEFUN([AC_PROG_AWK],
--[AC_CHECK_PROGS(AWK, gawk mawk nawk awk, )])
-+[AC_CHECK_PROGS(AWK, mawk gawk nawk awk, )])
+-[AC_CHECK_PROGS([AWK], [gawk mawk nawk awk 'busybox awk'])])
++[AC_CHECK_PROGS([AWK], [mawk gawk nawk awk 'busybox awk'])])
# AC_PROG_EGREP
diff --git a/autoconf-mksh.patch b/autoconf-mksh.patch
index 61f5587..abd63f6 100644
--- a/autoconf-mksh.patch
+++ b/autoconf-mksh.patch
@@ -1,6 +1,6 @@
---- autoconf-2.72/tests/local.at.orig 2023-12-22 16:05:20.000000000 +0100
-+++ autoconf-2.72/tests/local.at 2023-12-25 17:58:47.286892540 +0100
-@@ -558,7 +558,7 @@ m4_define([AT_CHECK_CONFIGURE],
+--- autoconf-2.73/tests/local.at.orig 2026-03-17 18:04:31.000000000 +0100
++++ autoconf-2.73/tests/local.at 2026-05-09 18:09:01.222391340 +0200
+@@ -666,7 +666,7 @@ m4_define([AT_CHECK_CONFIGURE],
# Set by AC_OUTPUT.
# - AC_SUBST'ed variables
# (FIXME: Generate a list of these automatically.)
@@ -9,7 +9,7 @@
# |SHLVL|START_TIME|ToD|_AST_FEATURES
# Some variables some shells use and change.
# '.[*#?$].' catches '$#' etc. which are displayed like this:
-@@ -611,7 +611,7 @@ if test -f state-env.before && test -f s
+@@ -719,7 +719,7 @@ if test -f state-env.before && test -f s
[EGREP_TRADITIONAL],
[GREP|[EF]GREP|SED],
[[_@]|.[*@%:@?$].],
@@ -18,7 +18,7 @@
[SECONDS|SHLVL|START_TIME|ToD|_AST_FEATURES]))=' \
$act_file ||
test $? -eq 1 || echo failed >&2
-@@ -641,7 +641,7 @@ fi
+@@ -749,7 +749,7 @@ fi
# - Variables with unstable values in at least some shells:
# - OLDPWD [bash, zsh]
# - PPID [bash, zsh]
@@ -27,9 +27,9 @@
# - SECONDS [bash, zsh]
# - SHLVL [bash]
# - START_TIME [NetBSD sh]
-@@ -653,6 +653,9 @@ fi
+@@ -761,6 +761,9 @@ fi
# - BASH_ARGV [bash]
- # - LINENO [Posix]
+ # - LINENO [POSIX]
# - _AST_FEATURES [ksh93]
+# - BASHPID [bash, mksh]
+# - EPOCHREALTIME [zsh, mksh]
@@ -37,7 +37,7 @@
# - Optionally, variables that are expected to vary in a particular test.
# This is controlled by the EXTRA-VARIANCE argument, which is a
# whitespace-separated sequence of tokens. Each token means to ignore
-@@ -692,6 +695,9 @@ do
+@@ -800,6 +803,9 @@ do
/^PPID=/ d
/^RANDOM=/ d
/^SECONDS=/ d
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/autoconf.git/commitdiff/e63eb307bf80cc0061250aaa2db761dd9093a219
More information about the pld-cvs-commit
mailing list