Add a patch for logicparser.