On Mon Oct 27 05:20:04 EDT 2014, [email protected] wrote: > > 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
fwiw, 9atom has had this, and serial checking (i think cinap did this). - erik
