Michael Di Martino wrote:
I know this is not the right list but my google searchs have come up empty.
What is the proper syntax for patching code (software) on linux.
For example I trying to patch mess833 but I havbe is the patch code.. How is that patch applied?
Thanks in advance. Regards, Michael Di Martino
Hi,
Many ways...
cat patch.file | patch -p0
patch -p0 < patch.file
etc
You might want -p0 or -p1 depending on the patch type. You might or might not want to be in the same directory as the original files depending on the patch type.
Usually looking at the first few lines of the patch will let you know.
Regards,
Rick