2009/7/19 Raúl Núñez de Arenas Coronado <[email protected]>:

> Probably your problem is that your vim72 sources doesn't include the
> "extra" files? If you are going to use all the patches published by Bram
> you need to have the pristine sources and the extra sources. This is a
> blind shot because I haven't had time to read your problem. I've patched
> my Vim to 228 (by now...) without any problem, and I do it automatically
> using a little shell script.


Thanks, when adding "extra" and "lang" packages, vim72 was updated to
latest patch cleanly.


>
> For me, saving time for Bram is enough.
>

I guess there might be a simple shell script could make all of us happy :)

====
#!/bin/sh

#prepare
mkdir -p vim-7.2-latest
cd vim-7.2-latest
tar xfz $path_src/vim-7.2.tar.bz2
tar xfz $path_src/vim-7.2-extra.tar.gz
tar xfz $path_src/vim-7.2-lang.tar.gz

#patch
for i in $(seq 1 1 2000)
do
   if [ -f $path_patch/7.2.$i ]
   then
       echo "Patching $path_patch/7.2.$i..."
       patch -p0 < $path_patch/7.2.$i
   else
       # no more patches, quit patching...
       echo "[ done ]"
       break
   fi
done

cd ..
tar cfz vim-72-latest.tgz vim-72-latest
====

Sorry for the ugly(wrong) script, haven't wrote for long time...


-- 
FIXME if it is wrong.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to