Ticket #2262: fix-vim-mans.patch

File fix-vim-mans.patch, 1.6 KB (added by bryan@linuxfromscratch.org, 16 years ago)

Proposed fix for vim manpage symlinks

  • chapter06/vim.xml

     
    6060
    6161<screen><userinput remap="pre">patch -Np1 -i ../&vim-fixes-patch;</userinput></screen>
    6262
     63<!--
    6364    <para>This version of Vim installs translated man pages and places
    6465    them into directories that will not be searched by Man-DB. Patch Vim
    6566    so that it installs its man pages into searchable directories and
     
    6768    at run-time:</para>
    6869
    6970<screen><userinput remap="pre">patch -Np1 -i ../&vim-mandir-patch;</userinput></screen>
     71-->
    7072
    7173    <para>Change the default location of the
    7274    <filename>vimrc</filename> configuration file to <filename
     
    117119    languages:</para>
    118120
    119121<screen><userinput remap="install">ln -sv vim /usr/bin/vi
    120 for L in "" fr it pl ru; do
     122for L in "" fr fr.ISO8859-1 fr.UTF-8 it it.ISO8859-1 it.UTF-8 \
     123        pl pl.ISO8859-2 pl.UTF-8 ru.KOI8-R ru.UTF-8; do
    121124    ln -sv vim.1 /usr/share/man/$L/man1/vi.1
    122125done</userinput></screen>
    123126
  • patches.ent

     
    145145<!ENTITY vim-fixes-patch-md5 "4b526f493995d2eb6fd415eb62ff43d8">
    146146<!ENTITY vim-fixes-patch-size "29.3 KB">
    147147
    148 <!ENTITY vim-mandir-patch "vim-&vim-version;-mandir-1.patch">
     148<!-- <!ENTITY vim-mandir-patch "vim-&vim-version;-mandir-1.patch">
    149149<!ENTITY vim-mandir-patch-md5 "b6426eb4192faba1e867ddd502323f5b">
    150 <!ENTITY vim-mandir-patch-size "4.2 KB">
    151 
     150<!ENTITY vim-mandir-patch-size "4.2 KB"> -->