From 6916cec6e75d41fc3100301e0bf43de8e5768550 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 31 Jan 2017 17:53:40 +0100 Subject: [PATCH] - added tests patch (fixes tests with libtool 2.4.x) --- autoconf-tests.patch | 11 +++++++++++ autoconf.spec | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 autoconf-tests.patch diff --git a/autoconf-tests.patch b/autoconf-tests.patch new file mode 100644 index 0000000..e09b51a --- /dev/null +++ b/autoconf-tests.patch @@ -0,0 +1,11 @@ +--- autoconf-2.69/tests/foreign.at.orig 2012-03-07 18:35:26.000000000 +0100 ++++ autoconf-2.69/tests/foreign.at 2017-01-31 16:34:36.105261591 +0100 +@@ -57,7 +57,7 @@ + # Make sure at-path contains something valid, and let the test suite + # display it when verbose. And fail, skipping would too easily hide + # problems. +-AT_CHECK([sed -n ["s,^.*\`\\(/[^']*\\)'.*,\\1,p"] stdout], [0], [stdout]) ++AT_CHECK([sed -n ["s,^.*[\`']\\(/[^']*\\)'.*,\\1,p"] stdout], [0], [stdout]) + AT_CHECK([test -f "`sed -n 1p stdout`"]) + + # Older libtoolize installed everything but install-sh... diff --git a/autoconf.spec b/autoconf.spec index e5963da..dbf2285 100644 --- a/autoconf.spec +++ b/autoconf.spec @@ -35,6 +35,7 @@ Patch2: %{name}-AC_EGREP.patch Patch3: %{name}-cxxcpp-warnonly.patch Patch4: %{name}-mksh.patch Patch5: autoconf-2.69-perl-5.22-autoscan.patch +Patch6: %{name}-tests.patch URL: http://www.gnu.org/software/autoconf/ %{?with_emacs:BuildRequires: emacs} BuildRequires: xz @@ -211,6 +212,7 @@ Tryb edycji autoconf dla emacsa. %patch3 -p1 %patch4 -p0 %patch5 -p1 +%patch6 -p1 %build %configure \ -- 2.44.0