Adapt patches and PLIST.