| 1 |
#! /bin/sh /usr/share/dpatch/dpatch-run
|
| 2 |
## 41_maketexmf.dpatch
|
| 3 |
##
|
| 4 |
## All lines beginning with `## DP:' are a description of the patch.
|
| 5 |
## DP: fix for mktexmf script from perforce depot
|
| 6 |
|
| 7 |
@DPATCH@
|
| 8 |
build/source/texk/kpathsea/mktexmf | 19 +++++++++++--------
|
| 9 |
1 file changed, 11 insertions(+), 8 deletions(-)
|
| 10 |
|
| 11 |
Index: texlive-bin-2006.svn3816/build/source/texk/kpathsea/mktexmf
|
| 12 |
===================================================================
|
| 13 |
--- texlive-bin-2006.svn3816.orig/build/source/texk/kpathsea/mktexmf 2006-01-17 22:41:51.000000000 +0100
|
| 14 |
+++ texlive-bin-2006.svn3816/build/source/texk/kpathsea/mktexmf 2007-01-26 04:01:50.000000000 +0100
|
| 15 |
@@ -36,17 +36,20 @@
|
| 16 |
rootfile=$sauterroot
|
| 17 |
rootname=b-$rootname
|
| 18 |
else
|
| 19 |
- case $rootname in
|
| 20 |
+ case $name in
|
| 21 |
# csso12[0-5][0-9] from CJK package; unsupported by mktexmf
|
| 22 |
csso12[0-5][0-9])
|
| 23 |
- rootfile=;;
|
| 24 |
- cs*|lcsss*|icscsc*|icstt*|ilcsss*)
|
| 25 |
- rootfile=`kpsewhich cscode.mf`;;
|
| 26 |
- wn[bcdfirstuv]*|rx[bcdfiorstuvx][bcfhilmostx]|l[abcdhl][bcdfiorstuvx]*)
|
| 27 |
- lhprefix=`echo "$name" | sed 's/^\(..\).*/\1/'`
|
| 28 |
- rootfile=`kpsewhich ${lhprefix}codes.mf 2>/dev/null`;;
|
| 29 |
+ rootfile=;;
|
| 30 |
*)
|
| 31 |
- rootfile=`kpsewhich $rootname.mf 2>/dev/null`;;
|
| 32 |
+ case $rootname in
|
| 33 |
+ cs*|lcsss*|icscsc*|icstt*|ilcsss*)
|
| 34 |
+ rootfile=`kpsewhich cscode.mf`;;
|
| 35 |
+ wn[bcdfirstuv]*|rx[bcdfiorstuvx][bcfhilmostx]|l[abcdhl][bcdfiorstuvx]*)
|
| 36 |
+ lhprefix=`echo "$name" | sed 's/^\(..\).*/\1/'`
|
| 37 |
+ rootfile=`kpsewhich ${lhprefix}codes.mf 2>/dev/null`;;
|
| 38 |
+ *)
|
| 39 |
+ rootfile=`kpsewhich $rootname.mf 2>/dev/null`;;
|
| 40 |
+ esac;;
|
| 41 |
esac
|
| 42 |
fi
|
| 43 |
{ test -z "$rootfile" || test ! -f "$rootfile"; } && exit 1
|