This setpgrp breaks the build on FreeBSD (and I think all BSDs). This fix is tested on FreeBSD and macOS.
Pull request #471 already exists for this, but the fix isn't right. The correct fix is noted in the comments, but I'm not sure if there's a way to edit a pull request. This is a clean one to get the change in and the build working again.
This setpgrp breaks the build on FreeBSD (and I think all BSDs). This fix is tested on FreeBSD and macOS.
Pull request #471 already exists for this, but the fix isn't right. The correct fix is noted in the comments, but I'm not sure if there's a way to edit a pull request. This is a clean one to get the change in and the build working again.