> A patch(1) (/n/sources/patch) can't be applied automatically > without modifying patch/apply.
Actually it can, thanks to the magic of bind(1):
cpu% 9fs sources
cpu% PATCH=libsec-x509-sha256rsa
cpu% mkdir -p $home/patch/$PATCH
cpu% bind -bc $home/patch/$PATCH /n/sources/patch/$PATCH
cpu% patch/apply $PATCH
merge...backup...copy...
to update sources:
update /sys/src/libsec/port/x509.c
cpu% ls -l /sys/src/libsec/port/x509.c
--rw-rw-r-- M 9996 sys sys 54387 Oct 27 09:15
/sys/src/libsec/port/x509.c
