common/hooks/do-patch/00-patches: drop -l option
The -l option causes a looser behavior of patch(1), where patches are applied when there is a match with no regard to leading whitespace. This means that it is possible to get false positives: for example, in srcpkgs/glu, there is a patch that was supposed to be long gone (since the release already includes it) but it was overlooked since with -l it happens to apply in a different portion of the source (where it is wrong). Avoid these cases.
This commit is contained in:
parent
2fd366dec4
commit
7b4119df5c
|
@ -31,7 +31,7 @@ _process_patch() {
|
|||
|
||||
cd "$wrksrc"
|
||||
msg_normal "$pkgver: patching: ${_patch}.\n"
|
||||
patch -sl ${_args} -i ${_patch} 2>/dev/null
|
||||
patch -s ${_args} -i ${_patch} 2>/dev/null
|
||||
}
|
||||
|
||||
hook() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user