You are not logged in.
Pages: 1
Hi,
I am trying to apply systray patch to my DWM but it says that patch does not apply.
error: patch failed: config.def.h:3
error: config.def.h: patch does not applyI am trying to apply 6.2 patch to DWM version 6.2.
Anybody knows why I have this problem? Am I missing something?
My dwm source: https://github.com/Stargarth/dwmBuild
Last edited by Stargarth (2020-05-29 17:09:51)
Offline
Is that the only output?
Mr Green
Offline
Unfortunately it is the only output ![]()
Offline
Please describe your steps. Are you using a PKGBUILD? Is the patch applied in a prepare function? Or if you apply the patch manually, post your complete commands and output.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Did you maybe manually edit some values in config.def.h?
Offline
Please describe your steps.
I downloaded dwm source from https://dwm.suckless.org/ and I applied few patches using git apply (I added Fibonacci and borders patches). I've build it with make command.
Did you maybe manually edit some values in config.def.h?
I am pretty sure that I didn't. Maybe one of the patches did? Honestly I don't look at their content
. I only edit config.h.
I've uploaded my dwm source to github: https://github.com/Stargarth/dwmBuild
Offline
... post your complete commands and output.
You only vaguely referred to other patches ... which ones, exactly which ones. Where did you get them and exactly how did you apply them?
The other patches are almost certainly the cause of the failure. This is a typical problem when one is applying multiple patches. But if you don't give specifics about what you are doing so that we can replicate your steps, there is no more help that could be given other than saying that's why and you may need to manually apply the patch.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Moving to Newbie Corner.
Offline
.. which ones, exactly which ones.
I didn't remember exactly, so I've downloaded fresh dwm source, applied patches, build it again.... and it works!
I must have messed up something that I don't remember in previous build.
Anyway - thanks for help! As always it's much appreciated!
Offline
Pages: 1