]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
tools/automake: update to 1.18 16522/head
authorMichael Pratt <mcpratt@pm.me>
Sun, 1 Jun 2025 23:08:12 +0000 (19:08 -0400)
committerRobert Marko <robimarko@gmail.com>
Sat, 26 Jul 2025 12:38:09 +0000 (14:38 +0200)
Update to the latest stable release
with the new API versions for binaries.

The temporary patching of shebangs is no longer necessary
since the whitespace check has been changed to a warning.

Part of a patch was upstreamed and therefore removed.

Manually adjusted patch:
 - 000-relocatable.patch
 - 101-do-not-require-files.patch

All other patches are automatically refreshed.

Link: https://lists.gnu.org/archive/html/autotools-announce/2025-05/msg00001.html
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/automake/Makefile
tools/automake/patches/000-relocatable.patch
tools/automake/patches/100-aclocal-skip-not-existing-directories.patch
tools/automake/patches/101-do-not-require-files.patch
tools/automake/patches/300-output-TRUE-cond-first.patch
tools/automake/patches/310-maintainer-clean-built_sources.patch

index f281583f054d404788213c16deb69666b38b2f20..d3da6d192129140590c3b121367b182bbd66507a 100644 (file)
@@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=automake
 PKG_CPE_ID:=cpe:/a:gnu:automake
-PKG_VERSION:=1.17
+PKG_VERSION:=1.18
 PKG_API_VERSION:=$(word 2,$(subst ., ,$(PKG_VERSION)))
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/automake
-PKG_HASH:=397767d4db3018dd4440825b60c64258b636eaf6bf99ac8b0897f06c89310acd
+PKG_HASH:=af6043a5d4b3beef0c48161f4a6936259321cd101a34c1ab0768328515626c8a
 
 include $(INCLUDE_DIR)/host-build.mk
 
@@ -21,7 +21,7 @@ HOST_CONFIGURE_ARGS += \
        --disable-silent-rules
 
 HOST_CONFIGURE_VARS += \
-       # temporary patch alternative for PERL="/usr/bin/env perl"
+       PERL="/usr/bin/env perl"
 
 define Host/Configure
        (cd $(HOST_BUILD_DIR); $(AM_TOOL_PATHS) STAGING_DIR_HOST="" ./bootstrap)
index d3a9e178e434505cf1592253949b20d105be3029..ec442ed3e32aca56ca2e57c617eacacb35809ac3 100644 (file)
@@ -1,6 +1,6 @@
 --- a/lib/Automake/Config.in
 +++ b/lib/Automake/Config.in
-@@ -34,7 +34,7 @@ our $PACKAGE = '@PACKAGE@';
+@@ -32,7 +32,7 @@ our $PACKAGE = '@PACKAGE@';
  our $PACKAGE_BUGREPORT = '@PACKAGE_BUGREPORT@';
  our $VERSION = '@VERSION@';
  our $RELEASE_YEAR = '@RELEASE_YEAR@';
  # We need at least this version for CLONE support.
 --- a/bin/aclocal.in
 +++ b/bin/aclocal.in
-@@ -1,4 +1,4 @@
--#!@PERL@
-+#!/usr/bin/env perl
- # aclocal - create aclocal.m4 by scanning configure.ac      -*- perl -*-
- # @configure_input@
- # Copyright (C) 1996-2024 Free Software Foundation, Inc.
-@@ -23,9 +23,11 @@ use 5.006;
- use strict;
- use warnings FATAL => 'all';
+@@ -21,9 +21,11 @@
+ use 5.006; use strict; use warnings;
  
 +$^W = 1;
 +
@@ -30,7 +24,7 @@
      unless $ENV{AUTOMAKE_UNINSTALLED};
  }
  
-@@ -65,8 +67,8 @@ $perl_threads = 0;
+@@ -63,8 +65,8 @@ $perl_threads = 0;
  # --aclocal-path option/ACLOCAL_PATH environment variable, and reset
  # with the '--system-acdir' option.
  my @user_includes = ();
  # Whether we should copy M4 file in $user_includes[0].
 --- a/bin/automake.in
 +++ b/bin/automake.in
-@@ -1,4 +1,4 @@
--#!@PERL@
-+#!/usr/bin/env perl
- # automake - create Makefile.in from Makefile.am            -*- perl -*-
- # @configure_input@
- # Copyright (C) 1994-2024 Free Software Foundation, Inc.
-@@ -26,9 +26,11 @@ use 5.006;
- use strict;
- use warnings FATAL => 'all';
+@@ -24,9 +24,11 @@ package Automake;
+ use 5.006; use strict; use warnings;
  
 +$^W = 1;
 +
index 6fa23c49e813c01c9f38941699a028c2be6de492..5ba02c0d8500aaf009e410440df64cf4cdf417e2 100644 (file)
@@ -1,6 +1,6 @@
 --- a/bin/aclocal.in
 +++ b/bin/aclocal.in
-@@ -372,6 +372,12 @@ sub scan_m4_dirs ($$@)
+@@ -370,6 +370,12 @@ sub scan_m4_dirs ($$@)
  
    foreach my $m4dir (@dirlist)
      {
index 26847bc6808284539af7b8886277748131dc7352..7fbc330975a758555d820c3acbc630f85ca59b60 100644 (file)
@@ -1,15 +1,6 @@
 --- a/bin/automake.in
 +++ b/bin/automake.in
-@@ -4552,7 +4552,7 @@ sub handle_gettext ()
-           && grep ($_ eq 'intl', @subdirs));
-     }
--  require_file ($ac_gettext_location, GNU, 'ABOUT-NLS');
-+  require_file ($ac_gettext_location, GNITS, 'ABOUT-NLS');
- }
- # Emit makefile footer.
-@@ -5677,7 +5677,7 @@ sub check_gnu_standards ()
+@@ -5700,7 +5700,7 @@ sub check_gnu_standards ()
            # otherwise require non-.md.
            my $required
             = (! -f $file && -f "$file.md") ? "$file.md" : $file;
@@ -18,7 +9,7 @@
          }
  
        # Accept one of these three licenses; default to COPYING.
-@@ -5691,7 +5691,7 @@ sub check_gnu_standards ()
+@@ -5714,7 +5714,7 @@ sub check_gnu_standards ()
              last;
            }
        }
index 1bfc0203dd68e63b655f524adc5bc21c9a2a9c20..1ac655adffdba59d7f38a332bf058c66e2724b42 100644 (file)
@@ -1,6 +1,6 @@
 --- a/lib/Automake/Variable.pm
 +++ b/lib/Automake/Variable.pm
-@@ -1259,8 +1259,15 @@ sub output_variables ()
+@@ -1258,8 +1258,15 @@ sub output_variables ()
    foreach my $var (@vars)
      {
        my $v = rvar $var;
@@ -16,7 +16,7 @@
          $res .= $v->output ($cond)
            if $v->rdef ($cond)->owner == VAR_AUTOMAKE;
        }
-@@ -1270,8 +1277,15 @@ sub output_variables ()
+@@ -1269,8 +1276,15 @@ sub output_variables ()
    foreach my $var (@vars)
      {
        my $v = rvar $var;
index 5737a6502389c4f5aeed5ce1430ecb803da2607f..679236bda0e595787740db314a9ef53c9f884211 100644 (file)
@@ -1,6 +1,6 @@
 --- a/bin/automake.in
 +++ b/bin/automake.in
-@@ -4745,12 +4745,42 @@ sub handle_clean
+@@ -4760,12 +4760,42 @@ sub handle_clean
      if var ('CLEANFILES');
    $clean_files{'$(DISTCLEANFILES)'} = DIST_CLEAN
      if var ('DISTCLEANFILES');