# HG changeset patch # User Masamichi Hosoda # Date 1424534892 -32400 # Node ID 360836e39d6de1252e4e0fa5aaca5902dd420c52 # Parent d81ea7e423144f121a09d596f54620b3dca40f99 Fix texinfo (texi2dvi) bashism for input/regression/lilypond-book/ tests diff -r d81ea7e42314 -r 360836e39d6d gub/specs/texinfo.py --- a/gub/specs/texinfo.py Sun Feb 22 00:35:13 2015 +0900 +++ b/gub/specs/texinfo.py Sun Feb 22 01:08:12 2015 +0900 @@ -2,7 +2,14 @@ class Texinfo__tools (tools.AutoBuild): source = 'http://ftp.gnu.org/pub/gnu/texinfo/texinfo-4.13a.tar.gz' + patches = ['texinfo-4.13a-fix-bashism.patch'] def patch (self): tools.AutoBuild.patch (self) # Drop ncurses dependency self.file_sub ([(' info ',' ')], '%(srcdir)s/Makefile.in') + # Avoid man rebuild + self.system(''' +touch %(srcdir)s/doc/texi2dvi.1 +touch %(srcdir)s/doc/texi2pdf.1 +touch %(srcdir)s/doc/pdftexi2dvi.1 +''') diff -r d81ea7e42314 -r 360836e39d6d patches/texinfo-4.13a-fix-bashism.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/texinfo-4.13a-fix-bashism.patch Sun Feb 22 01:08:12 2015 +0900 @@ -0,0 +1,19 @@ +http://svn.savannah.gnu.org/viewvc?view=rev&root=texinfo&revision=3868 + +--- a/util/texi2dvi 2008-09-19 03:46:01.000000000 +0900 ++++ b/util/texi2dvi 2015-02-22 00:27:36.042918200 +0900 +@@ -129,11 +129,13 @@ + } + test_local + test $foo = bar +-) || local () { ++) || eval ' ++local () { + case $1 in + *=*) eval "$1";; + esac + } ++' + + + # cd_orig