[C] packages: Sync erc after cooperation with upstream