> If upstream has an autoconf-like mechanism, better wrap this in > #ifdef HAVE_PLEDGE statements. If not, better keep local patches, at > least we can easily keep track of them.
sure, meanwhile we should also send it upstream and protecting these calls by adding #ifdef is ok to make consistency with other suckless tools. ii and sic pledge() patches have been merged: http://git.suckless.org/ii/commit/?id=584290f2642eeacbe1b24e7174e49139d6787252 http://git.suckless.org/sic/commit/?id=9bb34de449c8f22d869a6f3794107ed25d37c7c1
