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:
q66 2021-11-05 01:42:12 +01:00
parent 2fd366dec4
commit 7b4119df5c
1 changed files with 1 additions and 1 deletions

View File

@ -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() {