I'm new to patching and I need to install this patch https://dev.openwrt.org/browser/trunk/package/kernel/mac80211/patches/rev=39442
This is supposed to patch
As you can see it patches three files,
patch -Np5 -i 403-ath_regd_optional.patch and
patch -i 403-ath_regd_optional.patch and I get the same error
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
File to patch:
However, if I entered the exact same file (i.e.
drivers/net/wireless/ath/regd.c) it works
Why is that happening?
I manually updated the files and replaced the old ones