How do I exclude a Pack file from my build so I can replace with modified version in my folder?

stm32h7xx_hal_rcc.c has an error that I need to fix. I prefer not to modify the file in the Keil/Pack tree. I can find no way to make not compile E:\Reader\ReaderReceiverH7\Src\stm32h7xx_hal_rcc.c and use my modified file instead.

More questions in this forum