From 7633915abb0e86599cbadbf88caef9b9884bb8fa Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 6 Oct 2021 17:59:50 +0200 Subject: [PATCH] package/openocd: fix build with autoconf >= 2.70 Fix the following build failure raised since bump of autoconf to version 2.71 in commit ecd54b65c1f998a7ccd91f7c523e4ff38c4781da and http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=aba75f6d4a9c875a9d5d90a07c6b3678db66a4bf: >>> openocd 0.11.0 Autoreconfiguring autoreconf: error: configure.ac: AC_INIT not found; not an autoconf script? Fixes: - http://autobuild.buildroot.org/results/5fb7aa28703aff61ba850eac11bd35c8804528ae Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...ac-fix-autoreconf-with-autoconf-2.70.patch | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/openocd/0002-configure.ac-fix-autoreconf-with-autoconf-2.70.patch diff --git a/package/openocd/0002-configure.ac-fix-autoreconf-with-autoconf-2.70.patch b/package/openocd/0002-configure.ac-fix-autoreconf-with-autoconf-2.70.patch new file mode 100644 index 0000000000..ecb716b6fa --- /dev/null +++ b/package/openocd/0002-configure.ac-fix-autoreconf-with-autoconf-2.70.patch @@ -0,0 +1,32 @@ +From 3106d16bbc45de52bc0a8b638a84aa9d7c9abc46 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Oct 2021 17:43:16 +0200 +Subject: [PATCH] configure.ac: fix autoreconf with autoconf >= 2.70 + +Fix the following build failure raised with openocd and autoconf >= 2.70 +due to +http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=aba75f6d4a9c875a9d5d90a07c6b3678db66a4bf: + +>>> openocd 0.11.0 Autoreconfiguring +autoreconf: error: configure.ac: AC_INIT not found; not an autoconf script? + +Fixes: + - http://autobuild.buildroot.org/results/5fb7aa28703aff61ba850eac11bd35c8804528ae + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/msteveb/jimtcl/pull/209] +--- + configure.ac | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/jimtcl/configure.ac b/jimtcl/configure.ac +index b70b5d8..8c45114 100644 +--- a/jimtcl/configure.ac ++++ b/jimtcl/configure.ac +@@ -1 +1,3 @@ + # Dummy configure.ac to make automake happy ++AC_INIT([jimtcl], [0.80]) ++AC_OUTPUT +-- +2.33.0 +