diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-06-24 06:48:54 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-06-24 06:48:54 +0000 |
commit | 07950cfa54af33f3df6b7059bcaf2c47f68b1b39 (patch) | |
tree | ebd443cb1b98ab73a1c9ca45149f2ed6276f00cc /Build | |
parent | 619d2363611715485a59fae06a8d44add98a0a92 (diff) |
utils/xindy:Fix a bug when $modules_dir contains spaces.
See http://tex.stackexchange.com/questions/251221/miktex-and-xindy-problems.
git-svn-id: svn://tug.org/texlive/trunk@37654 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
3 files changed, 31 insertions, 1 deletions
diff --git a/Build/source/utils/xindy/xindy-2.5.1-PATCHES/ChangeLog b/Build/source/utils/xindy/xindy-2.5.1-PATCHES/ChangeLog index 9bb95afe6ec..364bc72cf0b 100644 --- a/Build/source/utils/xindy/xindy-2.5.1-PATCHES/ChangeLog +++ b/Build/source/utils/xindy/xindy-2.5.1-PATCHES/ChangeLog @@ -1,5 +1,11 @@ 2014-10-24 Peter Breitenlohner <peb@mppmu.mpg.de> + * patch-02-win32-paths-with-spaces (new): Patch from Akira. + See <http://tex.stackexchange.com/questions/251221/ + miktex-and-xindy-problems>. + +2014-10-24 Peter Breitenlohner <peb@mppmu.mpg.de> + * patch-01-xindy-needs-language (new): It seems xindy requires that language is set, patch from Akira. diff --git a/Build/source/utils/xindy/xindy-2.5.1-PATCHES/patch-02-win32-paths-with-spaces b/Build/source/utils/xindy/xindy-2.5.1-PATCHES/patch-02-win32-paths-with-spaces new file mode 100644 index 00000000000..13474fd0f2f --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.5.1-PATCHES/patch-02-win32-paths-with-spaces @@ -0,0 +1,24 @@ +diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.5.1.orig/user-commands/xindy.1 xindy-2.5.1/user-commands/xindy.1 +--- xindy-2.5.1.orig/user-commands/xindy.1 2014-05-29 22:26:05.000000000 +0200 ++++ xindy-2.5.1/user-commands/xindy.1 2014-10-24 11:06:44.000000000 +0200 +@@ -133,7 +133,7 @@ + .\" ======================================================================== + .\" + .IX Title "xindy 1" +-.TH xindy 1 "2014-05-29" "Release 2.5.1" "xindy" ++.TH xindy 1 "2014-10-24" "Release 2.5.1" "xindy" + .\" For nroff, turn off justification. Always turn off hyphenation; it makes + .\" way too many mistakes in technical documents. + .if n .ad l +diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.5.1.orig/user-commands/xindy.in xindy-2.5.1/user-commands/xindy.in +--- xindy-2.5.1.orig/user-commands/xindy.in 2014-10-24 10:38:47.000000000 +0200 ++++ xindy-2.5.1/user-commands/xindy.in 2015-06-24 08:35:39.000000000 +0200 +@@ -765,7 +765,7 @@ + @codepages = qw(latin cp iso8859 ascii utf8) unless @codepages; + my @styles; + foreach my $cp ( @codepages ) { +- @styles = glob("$lang_dir/$variant$cp*-lang.xdy"); ++ @styles = glob("'$lang_dir/$variant$cp*-lang.xdy'"); + last if @styles; + } + unless ( @styles ) { diff --git a/Build/source/utils/xindy/xindy-2.5.1/user-commands/xindy.in b/Build/source/utils/xindy/xindy-2.5.1/user-commands/xindy.in index a1e06097414..12b55317737 100644 --- a/Build/source/utils/xindy/xindy-2.5.1/user-commands/xindy.in +++ b/Build/source/utils/xindy/xindy-2.5.1/user-commands/xindy.in @@ -765,7 +765,7 @@ sub xindy_expression () { @codepages = qw(latin cp iso8859 ascii utf8) unless @codepages; my @styles; foreach my $cp ( @codepages ) { - @styles = glob("$lang_dir/$variant$cp*-lang.xdy"); + @styles = glob("'$lang_dir/$variant$cp*-lang.xdy'"); last if @styles; } unless ( @styles ) { |