patches_all – apply all needed patches to the original sources of a package.

Description

The method applies patches from PATCHDIR directory. If PATCHLIST is set, patch names are taken from that variable. If PATCHLIST is empty, all patches from PATCHDIR are taken in order of ls(1) output.

Writing

The method writes to S.

Variables

The method uses any-api(7) variables:
PATCHDIR
PATCHLIST

See also

any(1), any-map(7), any-api(7)