How to fetch and extract patches in archives?
Ryan Schmidt
ryandesign at macports.org
Tue Mar 20 02:55:24 UTC 2018
On Mar 18, 2018, at 02:33, Zero King wrote:
> Port w3m needs patches from Debian to fix security issues. Currently,
> the patches are added to the ports tree and takes ~800KiB. Since its
> size will grow, I'd prefer to fetch the patches from Debian archives
> (e.g. w3m_0.5.3-36.debian.tar.xz).
Putting the compressed patchfile name into patchfiles, and the URL where it can be downloaded in patch_sites, should work, except that MacPorts base does not support xz-compressed patchfiles yet (see https://trac.macports.org/ticket/52445). It does support bz2- and gz-compressed patchfiles though, if they offer those.
More information about the macports-dev
mailing list