[opensuse] Help with Makefile patch - it fails...
Guys, One thing I'm terrible at is figuring out why a patch failed to do its thing. Here I was trying to build gnomenu and it has a patch to accommodate the ../lib64 placement of stuff on x86_64 boxes. The patch fails and creates a Makefile.rej, which looks like nothing but a patch file to me. Is there any trick to using the .rej file? How? The patch applies correctly to everything but the simple Makefile and it has got me stalled. If anyone can help, please let me know. Then Makefile, Makefile.rej and gnomenu_64.patch are here: http://www.3111skyline.com/dl/bugs/openSUSE/110/Makefile http://www.3111skyline.com/dl/bugs/openSUSE/110/Makefile.rej http://www.3111skyline.com/dl/bugs/openSUSE/110/gnomenu_64.patches The makefiles ~2k and the patchfile ~10k (of which only 2 hunks that apply to the Makefile fail) I'm interested in figuring out how to solve this riddle. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 27 May 2010 03:21:19 -0500, "David C. Rankin"
The patch fails and creates a Makefile.rej, which looks like nothing but a patch file to me. Is there any trick to using the .rej file?
No trick. The .rej file simply contains those parts of a patch that didn't apply. Read the manpage for patch as it explains in detail what the rejects are. To consistently get more readable .rej files I'd recommend passing --reject-format=unified to patch.
The patch applies correctly to everything but the simple Makefile and it has got me stalled. If anyone can help, please let me know. Then Makefile, Makefile.rej and gnomenu_64.patch are here:
One reason could be changes in white space. To check that, use the -l or --ignore-whitespace option. You really should have asked over in opensuse-programing as that's the place where questions like this belong. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
David C. Rankin
-
Philipp Thomas