Source: autogen
Version: 1:5.10-1.1
Severity: important
Justification: ftbfs
Tags: upstream patch

Hi,

autogen doesn't build from source for me.  The patch below fixes it,
provided a copy of texinfo with Bug#619786 fixed is installed.  If
there is additional information I can provide to help, please feel
free to ask.

Bug#619786 has more details on the particular portability problem this
triggers (names of special builtins as function names are a syntax
error).

Signed-off-by: Jonathan Nieder <jrnie...@gmail.com>
---
 autoopts/test/defs.in |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/autoopts/test/defs.in b/autoopts/test/defs.in
index 0cf2340..ecfaea9 100644
--- a/autoopts/test/defs.in
+++ b/autoopts/test/defs.in
@@ -67,7 +67,12 @@ test -z "${CC}"         && echo "No CC configured" && exit 1
 test -z "${PAGER}"      && PAGER=more
 nl='
 '
-test -z "${BASH_VERSION}" && local() { : ; }
+(
+  test_local() {
+    local local_works=yes
+  }
+  test_local
+) || eval 'local() { : ; }'
 
 #  If only the "rm(1)" command could be relied upon....
 #
-- 
1.7.4.1




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to