texlive-20110705-set-selfautoparent-vine.patch 877 B

123456789101112131415
  1. diff -up texlive-2011/build/texlive-20110705-source/texk/kpathsea/progname.c\~ texlive-2011/build/texlive-20110705-source/texk/kpathsea/progname.c
  2. --- texlive-2011/build/texlive-20110705-source/texk/kpathsea/progname.c~ 2011-05-12 20:57:42.000000000 +0900
  3. +++ texlive-2011/build/texlive-20110705-source/texk/kpathsea/progname.c 2011-11-25 00:52:55.512303504 +0900
  4. @@ -614,7 +614,8 @@ kpathsea_set_program_name (kpathsea kpse
  5. kpathsea_xputenv (kpse, "SELFAUTOLOC", sdir);
  6. sdir_parent = xdirname (sdir);
  7. kpathsea_xputenv (kpse, "SELFAUTODIR", sdir_parent);
  8. - sdir_grandparent = xdirname (sdir_parent);
  9. + //sdir_grandparent = xdirname (sdir_parent);
  10. + sdir_grandparent = strdup("/usr/share");
  11. kpathsea_xputenv (kpse, "SELFAUTOPARENT", sdir_grandparent);
  12. #if defined(WIN32) || defined(__MINGW32__) || defined(__CYGWIN__)
  13. Diff finished. Fri Nov 25 00:52:58 2011