scripts: patches for pecancm