add patches to repository plugins