Update to 2022.02.11

This commit is contained in:
David King 2022-02-13 12:25:33 +00:00
parent 302546ad9e
commit 41ef90e75e
4 changed files with 9 additions and 77 deletions

2
.gitignore vendored
View File

@ -14,3 +14,5 @@
/autoconf-archive-2019.01.06.tar.xz
/autoconf-archive-2021.02.19.tar.xz
/autoconf-archive-2021.02.19.tar.xz.sig
/autoconf-archive-2022.02.11.tar.xz
/autoconf-archive-2022.02.11.tar.xz.sig

View File

@ -1,71 +0,0 @@
From 59008cc7f85e1982eb298e1c424c2e6ad5942c4a Mon Sep 17 00:00:00 2001
From: David Seifert <soap@gentoo.org>
Date: Sat, 12 Jun 2021 22:29:03 +0200
Subject: [PATCH] Revert "AX_PTHREAD: target > host"
This reverts commit 2567e0ce0f3a11b535c6b527386197fb49ff172b.
* `AC_CANONICAL_HOST` is the system on which the actual binary will run,
`AC_CANONICAL_TARGET` is the system for which code is generated. The
Autoconf manual even mentions that
--target=target-type
the type of system for which any compiler tools in the package produce code (**rarely needed**).
---
m4/ax_pthread.m4 | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/m4/ax_pthread.m4 b/m4/ax_pthread.m4
index e5858e50..9f35d139 100644
--- a/m4/ax_pthread.m4
+++ b/m4/ax_pthread.m4
@@ -87,11 +87,11 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 30
+#serial 31
AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
AC_DEFUN([AX_PTHREAD], [
-AC_REQUIRE([AC_CANONICAL_TARGET])
+AC_REQUIRE([AC_CANONICAL_HOST])
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AC_PROG_SED])
AC_LANG_PUSH([C])
@@ -158,7 +158,7 @@ ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --
# --thread-safe: KAI C++
# pthread-config: use pthread-config program (for GNU Pth library)
-case $target_os in
+case $host_os in
freebsd*)
@@ -248,7 +248,7 @@ AS_IF([test "x$ax_pthread_clang" = "xyes"],
# definitions is, on some systems, a strong hint that pthreads support is
# correctly enabled
-case $target_os in
+case $host_os in
darwin* | hpux* | linux* | osf* | solaris*)
ax_pthread_check_macro="_REENTRANT"
;;
@@ -450,7 +450,7 @@ if test "x$ax_pthread_ok" = "xyes"; then
AC_CACHE_CHECK([whether more special flags are required for pthreads],
[ax_cv_PTHREAD_SPECIAL_FLAGS],
[ax_cv_PTHREAD_SPECIAL_FLAGS=no
- case $target_os in
+ case $host_os in
solaris*)
ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
;;
@@ -480,7 +480,7 @@ if test "x$ax_pthread_ok" = "xyes"; then
# More AIX lossage: compile with *_r variant
if test "x$GCC" != "xyes"; then
- case $target_os in
+ case $host_os in
aix*)
AS_CASE(["x/$CC"],
[x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6],

View File

@ -1,6 +1,6 @@
Name: autoconf-archive
Version: 2021.02.19
Release: 6%{?dist}
Version: 2022.02.11
Release: 1%{?dist}
Summary: The Autoconf Macro Archive
License: GPLv3+ with exceptions
URL: https://www.gnu.org/software/autoconf-archive/
@ -17,8 +17,6 @@ Requires: autoconf
# Add support for Python 3.10
Patch0: autoconf-archive-2021.02.19-python_310.patch
Patch1: autoconf-archive-2021.02.19-fix-ax-pthread.patch
%description
The GNU Autoconf Archive is a collection of more than 450 macros for
GNU Autoconf that have been contributed as free software by friendly
@ -46,6 +44,9 @@ rm -frv %{buildroot}%{_datadir}/doc/%{name}
%{_infodir}/autoconf-archive.info*
%changelog
* Sun Feb 13 2022 David King <amigadave@amigadave.com> - 2022.02.11-1
- Update to 2022.02.11
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2021.02.19-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View File

@ -1,2 +1,2 @@
SHA512 (autoconf-archive-2021.02.19.tar.xz) = a968c355c3cf66d74dc5b452141afbdf763e84a6c43b12c25da9a08482910d6d57ba3952aaf270d8cd5fd8b9d2dadf2d7d943ae2e1b067d68b71d2738d881aa0
SHA512 (autoconf-archive-2021.02.19.tar.xz.sig) = f377e9b7c5099ce79ab6d7fe22610cd8869d8586089c9c6990984ef971a3bc31d8f4e0956e55e95c812981215c434536b54de5a13e3b449897aad87c1cfb663f
SHA512 (autoconf-archive-2022.02.11.tar.xz) = 243e06a356ea2c0fddc527febd4241da49fe4c11fb64b548873744a54e079860739d7a1da842833b99540acde3f6a2ebfddc41897306cc2e61e2c6037a7d22ff
SHA512 (autoconf-archive-2022.02.11.tar.xz.sig) = a4999e1f0fb178df8b840f2790ae9f2a26eed16ee9193b710d69f808c904a98aec9e118c156109a7727c8c86c342a8294ab4fb3d5b1e391bd7af33a5c92b7351