Re: patches

Albert Dorofeev (
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

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

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.


Albert Dorofeev (Tigr) - albert at -
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.