fixed kern ver for toolchain glibc build
[hdw-linux/hdw-linux.git] / packages / base / man / man_80cols.patch
1 diff -Naur man-1.5l.orig/src/man.c man-1.5l/src/man.c
2 --- man-1.5l.orig/src/man.c     2002-12-17 16:28:14.000000000 -0700
3 +++ man-1.5l/src/man.c  2003-04-24 16:49:05.000000000 -0600
4 @@ -546,7 +546,9 @@
5                /* we should set line length and title line length */
6                /* however, a .lt command here fails, only
7                   .ev 1; .lt ...; .ev helps for my version of groff */
8 -              sprintf(eos(bufh), "echo \".ll %d.%di\"; ", ll/10, ll%10);
9 +                 /* use the LL register instead of .ll to keep up with
10 +                 * changes in the groff-1.18 series */
11 +                 sprintf(eos(bufh), "echo \".nr LL %d.%di\"; ", ll/10, ll%10);
12  #if 0
13                sprintf(eos(bufh), "echo \".lt %d.%di\"; ", ll/10, ll%10);
14  #endif