You are not logged in.
I want to apply a second patch to dwm and the patch is unsuccessful. How to I apply it manually? I can see the lines of code in the .diff. Do I just go through the dwm.c and find the lines that match. What do the different colors mean? How do I know what line number is to be changed?
Offline
An unsuccessful patch will generate a (or more than one, depending on how many files are being patched) *.rej file.
Look at what was rejected, compare it to the *.orig and work out why it failed. You can then manually paste the amended code into the file.
This is all explained in `man patch`.
Offline
The colors probably depend on the color scheme of your editor / pager.
Offline
for future reference, the systray patch and the fancycolors clickable patch do not work well together. I applied the patches manually and the result make was fine. after install the bar covers the clickable tabs rather than the tabs being over the bar. This is understandable since they are both patching the status area.
Offline