The LWRP now has the patch attribute witch use the patch capability of ruby-build.