From 973674c2b6d26015c0ac89ece042d62438c8af3a Mon Sep 17 00:00:00 2001 From: Frederic Berat Date: Wed, 29 Jun 2022 13:07:40 +0200 Subject: [PATCH] Fix missing delimiter in ax_cc_maxopt.m4 Back-port c92672b9c59f9011e5d68220e99cfdd70c1b98df --- ....02.11-m4-add-missing-to-end-of-case.patch | 33 +++++++++++++++++++ autoconf-archive.spec | 8 ++++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 autoconf-archive-2022.02.11-m4-add-missing-to-end-of-case.patch diff --git a/autoconf-archive-2022.02.11-m4-add-missing-to-end-of-case.patch b/autoconf-archive-2022.02.11-m4-add-missing-to-end-of-case.patch new file mode 100644 index 0000000..a9b2ae4 --- /dev/null +++ b/autoconf-archive-2022.02.11-m4-add-missing-to-end-of-case.patch @@ -0,0 +1,33 @@ +From c92672b9c59f9011e5d68220e99cfdd70c1b98df Mon Sep 17 00:00:00 2001 +From: Reuben Thomas +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 + diff --git a/autoconf-archive.spec b/autoconf-archive.spec index a8653f4..86cab01 100644 --- a/autoconf-archive.spec +++ b/autoconf-archive.spec @@ -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 - 2022.02.11-2 +- Back-port fix for missing ;; to end of case, rhbz#2095844 + * Sun Feb 13 2022 David King - 2022.02.11-1 - Update to 2022.02.11