Репозитории ALT
5.1: | 1.6f-alt11 |
4.1: | 1.6f-alt1 |
4.0: | 1.5m2-alt4 |
+backports: | 1.6f-alt5.M40.1 |
3.0: | 1.5m2-alt3 |
Группа :: Система/Основа
Пакет: man
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: man-1.5k-alt-msgs.patch
Скачать
Скачать
--- man-1.5k/msgs/inst.sh.orig 2001-11-20 03:24:39 +0300
+++ man-1.5k/msgs/inst.sh 2002-11-03 18:53:51 +0300
@@ -27,12 +27,8 @@
for j in $M; do
if [ -f $j ]; then
i=`echo $j | sed -e 's/mess.//; s/.cat//'`
- dest=`echo $locdir | sed -e "s/%N/man/; s/%L/$i/"`
- dest=${PREFIX}$dest
- echo "mkdir -p `dirname $dest`"
- mkdir -p `dirname $dest`;
- echo "install -c -m 644 $j $dest"
- install -c -m 644 $j $dest
+ dest=`echo $locdir | sed -e "s|%N|man.mo|; s|%L|$i/LC_MESSAGES|"`
+ install -pvDm644 "$j" "$dest"
fi
done
--- man-1.5k/src/gripes.c.orig 2001-11-20 13:53:47 +0300
+++ man-1.5k/src/gripes.c 2002-11-03 18:44:33 +0300
@@ -7,7 +7,7 @@
extern char *msg[];
-static char *mantexts = "man"; /* e.g. /usr/lib/locale/%L/man.cat */
+static char *mantexts = "man.mo"; /* e.g. /usr/lib/locale/%L/man.cat */
#ifdef NONLS
@@ -36,6 +36,7 @@
catinit (void) {
if (!cat_is_open) {
catfd = my_catopen(mantexts,0);
+#if 0
if (catfd == (nl_catd) -1) {
/* Only complain if at least one of NLSPATH and LANG exists,
and LANG != "en" (or when debugging). Also accept en_ZA etc. */
@@ -59,6 +60,7 @@
mantexts);
}
}
+#endif
}
cat_is_open = 1;
}