add patches for pkgtools/rc.subr