source: projects/specs/trunk/t/texlive/texlive-20120701-set-selfautoparent-vine.patch @ 7148

Revision 7148, 786 bytes checked in by munepi, 12 years ago (diff)

upgrade to TeX Live 2012

RevLine 
[7148]1diff -du texlive-20120701-source/texk/kpathsea/progname.c.vine texlive-20120701-source/texk/kpathsea/progname.c
2--- texlive-20120701-source/texk/kpathsea/progname.c.vine       2012-03-12 03:04:02.000000000 +0900
3+++ texlive-20120701-source/texk/kpathsea/progname.c    2012-09-17 17:16:11.049822750 +0900
4@@ -667,7 +667,8 @@
5   kpathsea_xputenv (kpse, "SELFAUTOLOC", fix_selfdir (sdir));
[5207]6   sdir_parent = xdirname (sdir);
[7148]7   kpathsea_xputenv (kpse, "SELFAUTODIR", fix_selfdir (sdir_parent));
[5207]8-  sdir_grandparent = xdirname (sdir_parent);
[7148]9+  // sdir_grandparent = xdirname (sdir_parent);
[5207]10+  sdir_grandparent = strdup("/usr/share");
[7148]11   kpathsea_xputenv (kpse, "SELFAUTOPARENT", fix_selfdir (sdir_grandparent));
[5207]12 
[7148]13 #if defined(WIN32) || defined(__CYGWIN__)
[5207]14
[7148]15Diff finished.  Mon Sep 17 17:16:36 2012
Note: See TracBrowser for help on using the repository browser.