texlive/tl-kpfix.patch
2012-10-03 09:42:14 +02:00

13 lines
676 B
Diff

diff -up source/texk/kpathsea/progname.c.orig source/texk/kpathsea/progname.c
--- source/texk/kpathsea/progname.c.orig 2012-03-12 10:13:40.000000000 +0100
+++ source/texk/kpathsea/progname.c 2012-03-12 11:05:58.858157925 +0100
@@ -667,7 +667,7 @@ kpathsea_set_program_name (kpathsea kpse
kpathsea_xputenv (kpse, "SELFAUTOLOC", fix_selfdir (sdir));
sdir_parent = xdirname (sdir);
kpathsea_xputenv (kpse, "SELFAUTODIR", fix_selfdir (sdir_parent));
- sdir_grandparent = xdirname (sdir_parent);
+ sdir_grandparent = strdup("/usr/share/texlive");
kpathsea_xputenv (kpse, "SELFAUTOPARENT", fix_selfdir (sdir_grandparent));
#if defined(WIN32) || defined(__CYGWIN__)