Re: patches

Albert Dorofeev (albert@tigr.net)
Thu, 18 Nov 1999 13:09:49 +0100


On Thu, Nov 18, 1999 at 12:29:26PM +0100, Dennis Heuer wrote:
>  Please help a silly unbeliever...
>  
>  I'm not that fit in patching and can't get the last 15 patches on the
>  source. Can anybody help me telling the command line and starting
>  directory?

Supposing you have the directory AfterStep-xxxx/ which
contains the sources and the patches in the same directory
(like in /usr/local/src, for example):

	cd AfterStep-xxxx
	for i in ../1.7.142-* ; do zcat $i | patch -p1 ; done

or
	gunzip 1.7.142-*
	cd AfterStep-xxx
	patch -p1 < ../1.7.142-01-xxxxx.patch
	patch -p1 < ../1.7.142-02-xxxxx.patch
	etc

Do not forget to do 'make distclean' if you compiled
the sources before - this will get rid of the old makefiles,
obj files and so on.

HTH
Albert

-- 
Albert Dorofeev (Tigr) - albert at tigr.net - http://www.tigr.net/
PGP fingerprint = C9 49 D0 F3 41 FA 8C D8  E9 5C 6A D4 F1 6D 65 15
  Anything good in life is either illegal, immoral or fattening.

--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.calderasystems.com/linuxcenter/forums/afterstep.html