Mercurial > gub
changeset 6355:360836e39d6d
Fix texinfo (texi2dvi) bashism
for input/regression/lilypond-book/ tests
author | Masamichi Hosoda <trueroad@users.noreply.github.com> |
---|---|
date | Sun, 22 Feb 2015 01:08:12 +0900 |
parents | d81ea7e42314 |
children | 2750343674be |
files | gub/specs/texinfo.py patches/texinfo-4.13a-fix-bashism.patch |
diffstat | 2 files changed, 26 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 +''')
--- /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