Fix missing delimiter in ax_cc_maxopt.m4

Back-port c92672b9c59f9011e5d68220e99cfdd70c1b98df
This commit is contained in:
Frederic Berat 2022-06-29 13:07:40 +02:00
parent 41ef90e75e
commit 973674c2b6
2 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,33 @@
From c92672b9c59f9011e5d68220e99cfdd70c1b98df Mon Sep 17 00:00:00 2001
From: Reuben Thomas <rrt@sc3d.org>
Date: Mon, 25 Apr 2022 12:37:10 +0100
Subject: [PATCH] m4/ax_cc_maxopt.m4: add missing ;; to end of case
---
m4/ax_cc_maxopt.m4 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/m4/ax_cc_maxopt.m4 b/m4/ax_cc_maxopt.m4
index 05218e3..7ad5343 100644
--- a/m4/ax_cc_maxopt.m4
+++ b/m4/ax_cc_maxopt.m4
@@ -55,7 +55,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 22
+#serial 23
AC_DEFUN([AX_CC_MAXOPT],
[
@@ -146,6 +146,7 @@ if test "x$ac_test_CFLAGS" = "x"; then
nvhpc)
# default optimization flags for nvhpc
CFLAGS="$CFLAGS -O3"
+ ;;
gnu)
# default optimization flags for gcc on all systems
--
2.35.3

View File

@ -1,6 +1,6 @@
Name: autoconf-archive
Version: 2022.02.11
Release: 1%{?dist}
Release: 2%{?dist}
Summary: The Autoconf Macro Archive
License: GPLv3+ with exceptions
URL: https://www.gnu.org/software/autoconf-archive/
@ -17,6 +17,9 @@ Requires: autoconf
# Add support for Python 3.10
Patch0: autoconf-archive-2021.02.19-python_310.patch
# upstream: https://github.com/autoconf-archive/autoconf-archive/commit/c92672b9c59f9011e5d68220e99cfdd70c1b98df
Patch1: autoconf-archive-2022.02.11-m4-add-missing-to-end-of-case.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
@ -44,6 +47,9 @@ rm -frv %{buildroot}%{_datadir}/doc/%{name}
%{_infodir}/autoconf-archive.info*
%changelog
* Wed Jun 29 2022 Frederic Berat <fberat@redhat.com> - 2022.02.11-2
- Back-port fix for missing ;; to end of case, rhbz#2095844
* Sun Feb 13 2022 David King <amigadave@amigadave.com> - 2022.02.11-1
- Update to 2022.02.11