Applied lua.xml, perl.xml patches.
Added haskell patch.
ADded php.xml.patch.