I want to apply patches that the author of a Python library uploaded on his website. Is there any way to do this easily without resorting to doing it manually on each impacted line?
Something like:
$ applyPatch patchFile sourceCodeFile
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you download the raw patches (example: http://hg.secdev.org/scapy/raw-rev/7621f33286b9) you can apply them using
patch, e.g.:You’ll need to make sure that if they touch the same lines you apply them in the correct order; tools like quilt can help with this.