apply a patch which is a diff file
Hi All
I although I know how to keep a unix system up and running I actually don't know how to apply the patch for gzip :(
Its a diff file. Can someone give me the right syntax or point me to the documentation (I looked around at docs.sun.com but didn't find it)
Thanks a lot
LuCa
[313 byte] By [
abcde-tje] at [2007-11-26 11:05:29]

# 1
are you refering to this patch:
http://www.gzip.org/gzip-1.2.4b.patch
If you have a compiler installed (such as gcc or cc)
You can apply this patch if you download the entire gzip source from
ftp://wuarchive.wustl.edu/mirrors/gnu/gzip/gzip-1.2.4.tar
then apply the patch using gpatch -p0 < patch file
.. and compile your own' gzip using:
./configure
make
make install
.7/M
# 2
thanks a lot!I installed the binary, can this be fixed with a patch as well ?If not, than I'm still very happy with your solution!LuCaps I refered to the gzip patch on this site: http://www.sunfreeware.com/indexsparc10.html
# 4
hmm, you're right, now I see that they actually applied the patch. So the 'diff' file is not a patch ?Anyway, do you know some good docuementation about patching, I feel a little bit stupid knowing nothing about it!Thanks a lotLuCa
# 6
> Anyway, do you know some good docuementation about> patching, I feel a little bit stupid knowing nothing> about it!What kind of documentation? There's the man pages for 'pkgadd' and friends. That's normally all I'm looking at.-- Darren