/[packages]/cauldron/texlive/current/SOURCES/texlive-20160523-texmf-mageia-kpfix.patch
ViewVC logotype

Contents of /cauldron/texlive/current/SOURCES/texlive-20160523-texmf-mageia-kpfix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1057043 - (show annotations) (download)
Tue Sep 27 00:46:17 2016 UTC (3 years, 9 months ago) by bcornec
File size: 1256 byte(s)
Update to upstream 20160523

1 --- texlive-20160523-source/texk/kpathsea/progname.c.orig 2016-09-26 02:28:43.905577892 +0200
2 +++ texlive-20160523-source/texk/kpathsea/progname.c 2016-09-26 02:29:06.305229563 +0200
3 @@ -668,7 +668,7 @@
4 /* SELFAUTODIR is actually the parent of the invocation directory,
5 and SELFAUTOPARENT the grandparent. This is how teTeX did it. */
6 kpathsea_xputenv (kpse, "SELFAUTOLOC", fix_selfdir (sdir));
7 - sdir_parent = xdirname (sdir);
8 + sdir_parent = strdup("/usr/share/texmf-dist");
9 kpathsea_xputenv (kpse, "SELFAUTODIR", fix_selfdir (sdir_parent));
10 sdir_grandparent = xdirname (sdir_parent);
11 kpathsea_xputenv (kpse, "SELFAUTOPARENT", fix_selfdir (sdir_grandparent));
12 --- texlive-20160523-source/texk/texlive/linked_scripts/texlive/fmtutil.pl.orig 2016-09-26 10:31:10.380341790 +0200
13 +++ texlive-20160523-source/texk/texlive/linked_scripts/texlive/fmtutil.pl 2016-09-26 10:31:31.000067067 +0200
14 @@ -19,7 +19,7 @@
15 die "$0: kpsewhich -var-value=TEXMFROOT failed, aborting early.\n";
16 }
17 chomp($TEXMFROOT);
18 - unshift(@INC, "$TEXMFROOT/tlpkg", "$TEXMFROOT/texmf-dist/scripts/texlive");
19 + unshift(@INC, "$TEXMFROOT/texmf-dist/tlpkg", "$TEXMFROOT/texmf-dist/scripts/texlive");
20 require "mktexlsr.pl";
21 TeX::Update->import();
22 }

  ViewVC Help
Powered by ViewVC 1.1.28