View Full Version : Patching the Superpatch
texster
09-15-2006, 05:52 PM
I have been trying to apply the diff files to go from "67all" 1.2 to 1.3, and then 1.3 to 1.4. Unfortunately I have been getting nothing but hunk failures.
I have ftp'd (binary) the files to var, tried dos2unix and chmod.
Does it matter if the files are xxx.patch or xxx.txt?
I suspect my syntax is wrong, and would appreciate a little guidance, thanks.
Gunnyman
09-15-2006, 05:53 PM
there's a whole thread on DDB. The author hangs out there, not here. Good luck.
texster
09-15-2006, 06:51 PM
Didn't mean to introduce an inappropriate thread. I thought that the question was so rudimentary, that the other place would frown on it. But I thought is was general in enough in nature that it would be acceptable here. Let me try to ask it this way: how do you apply a diff file to the original using the patch command, and how would one troubleshoot "hunk failed" errors?
mike32940
09-17-2006, 11:51 AM
Simplest way is to use notepad. Find the matching sections and then remove lines starting with a '-' and add lines starting with a '+' (without the '+' of course). Run dos2unix to fix the file for unix.
texster
09-18-2006, 12:04 PM
Thanks Mike, that's what I ended up doing. Actually I used wordpad, which seems to handle the linux stuff better than notepad.
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.