[packages/autoconf] - enhanced tests patch to fix failures with mksh

qboosh qboosh at pld-linux.org
Tue Jan 31 22:17:01 CET 2017


commit 147d811a23a9f76228b94479b8216d78eca65115
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jan 31 22:18:35 2017 +0100

    - enhanced tests patch to fix failures with mksh

 autoconf-tests.patch | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
---
diff --git a/autoconf-tests.patch b/autoconf-tests.patch
index e09b51a..d9d7341 100644
--- a/autoconf-tests.patch
+++ b/autoconf-tests.patch
@@ -9,3 +9,33 @@
  AT_CHECK([test -f "`sed -n 1p stdout`"])
  
  # Older libtoolize installed everything but install-sh...
+--- autoconf-2.69/tests/local.at.orig	2017-01-31 19:18:28.760150997 +0100
++++ autoconf-2.69/tests/local.at	2017-01-31 19:35:48.663569282 +0100
+@@ -324,7 +324,7 @@
+       [AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|MKDIR_P|RANLIB|SET_MAKE|YACC],
+       [GREP|[EF]GREP|SED],
+       [[_@]|.[*#?$].],
+-      [argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS|BASHPID|EPOCHREALTIME]))=' \
++      [argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS|BASHPID|EPOCHREALTIME|KSH_MATCH]))=' \
+      $act_file ||
+        test $? -eq 1 || echo failed >&2
+     ) 2>stderr-$act_file |
+@@ -381,6 +381,7 @@
+ 	/^RANDOM=/ d
+ 	/^SECONDS=/ d
+ 	/^BASHPID=/ d
++	/^KSH_MATCH=/ d
+ 	/^EPOCHREALTIME=/ d
+ 	/'\'\\\$\''=/ d
+ 	/^argv=/ d
+--- autoconf-2.69/tests/m4sh.at.orig	2012-03-07 18:35:26.000000000 +0100
++++ autoconf-2.69/tests/m4sh.at	2017-01-31 21:50:56.350739217 +0100
+@@ -237,7 +237,7 @@
+ [[AS@&t at _INIT
+ m4@&t at _divert_text([], [
+ if $2; then
+-  AS@&t at _UNSET([LINENO])
++  { LINENO=0; unset LINENO;}
+ fi
+ ])
+ AS@&t at _LINENO_PREPARE
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/autoconf.git/commitdiff/147d811a23a9f76228b94479b8216d78eca65115



More information about the pld-cvs-commit mailing list