[packages/autoconf] - added tests patch (fixes tests with libtool 2.4.x)

qboosh qboosh at pld-linux.org
Tue Jan 31 17:52:08 CET 2017


commit 6916cec6e75d41fc3100301e0bf43de8e5768550
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jan 31 17:53:40 2017 +0100

    - added tests patch (fixes tests with libtool 2.4.x)

 autoconf-tests.patch | 11 +++++++++++
 autoconf.spec        |  2 ++
 2 files changed, 13 insertions(+)
---
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 \
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...
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/autoconf.git/commitdiff/6916cec6e75d41fc3100301e0bf43de8e5768550



More information about the pld-cvs-commit mailing list