Updated dirinstall.patch (sync with upstream)

The patch has been applied upstream.