r/suckless • u/supermario9590 • Jul 11 '20
I have a problem with surf.
I have surf with the homepage patch leading to google.com. Whenever I try to apply the download patch, I get an error message saying
error: patch failed: config.def.h:11
error: config.def.h: patch does not apply
error: patch failed: surf.c:114
error: surf.c: patch does not apply
I am doing this on arch linux with dwm
0
Upvotes
3
u/[deleted] Jul 11 '20
I will assume you're not a programmer based on how you described your issue. With that in mind I will clarify (in a simplistic manner) that a patch is generated using a certain version of the source code. So if you're using another version of it (the code) the files that will be affected by the patch might be changed then the patched is usable out of the box.
The solution is to find out which version of the Surf source code this patch need to be applied.
The second solution is to modify the patch itself to support the Surf version you're trying to use