Patch packet compilation.