add missing directory patches