hash.patch was merged upstream with some changes, such as renaming hash to hashString