Add script to apply patches for cm-11.0