This is GPL code and unfortunately incompatible with BSD. Please remove this from the pull request.