I’ve just committed the patch in https://buddypress.trac.wordpress.org/ticket/6923 to trunk/2.7. It’s an enhancement to
grunt patch to allow you* to upload patches directly to a Trac ticket, and also to download a Github pull request and apply it as a place. See the commit message https://buddypress.trac.wordpress.org/changeset/10936 for instructions.
*Only BuddyPress Trac admins and bug gardeners have access to upload patches in this way.