If this is a commercial product bringing revenue, just buy the real stuff.
- For DIY and non-profit -
Isn't your patch working? Try xclm fixer:
this,
mirror (Password included in the ZIP comment), and just use v1.25, you'll save a heck of a work.
Works with most versions. FYI, tested working with xc8 v1.x-v2.40, xc16 v1.25-v2.00, so I expect it to work with most compilers up to date.
Edit: It seems MplabX v6.00 is causing some issues, complaining about wrong checksums when building, not happening with v5.50, so stay with that version or try yourself.
Please don't insult or blame me for it (hack tool exe blah blah), download it at your own responsability.
(Got it at Sonsrivri forum ages ago)