Hopatch provides a command with which the user may register of
patch code for a particular package. Hopatch will apply the
patch immediately, if the relevant package has already been
loaded; otherwise it will store the patch until the package
appears.

Homepage:
https://ctan.org/pkg/hopatch
