texlive-20131101-set-selfautoparent-vine.patch 602 B

1234567891011121314
  1. --- texlive-source-20130624/texk/kpathsea/progname.c.vine
  2. +++ texlive-source-20130624/texk/kpathsea/progname.c
  3. @@ -663,7 +663,8 @@
  4. kpathsea_xputenv (kpse, "SELFAUTOLOC", fix_selfdir (sdir));
  5. sdir_parent = xdirname (sdir);
  6. kpathsea_xputenv (kpse, "SELFAUTODIR", fix_selfdir (sdir_parent));
  7. - sdir_grandparent = xdirname (sdir_parent);
  8. + // sdir_grandparent = xdirname (sdir_parent);
  9. + sdir_grandparent = strdup("/usr/share");
  10. kpathsea_xputenv (kpse, "SELFAUTOPARENT", fix_selfdir (sdir_grandparent));
  11. #if defined(WIN32) || defined(__CYGWIN__)
  12. Diff finished. Sun Jul 21 12:02:41 2013