How to include local fixes to 3rd party libraries

I found a bug in the Sensirion scd40 arduino library, have reported the issues to their github page:[ https://github.com/Sensirion/arduino-i2c-scd4x.] I made the fix to the library source on my machine. But the change doesn't seem to be included, so I'm wondering what to do.
Options: Somehow force recompile of the library.
I created a copy and renamed the library but Arduino doesn't see the renamed libary for inclusion.

And generally what is the recommended practice for handling this. Many of the 3rd party libraries create warnings of unused variables, etc. So far I've limited myself to actual bugs, but the warnings are a pain too.

Did you make the changes in the original or renamed library, and where is the library that you are trying to use now located ?

When I change a library I make the changes by adding the library to the project and then editing a few items.

Use Sketch | Add File to add the .h and .cpp files to the project. After adding the files the .h and .cpp files should show up as tabs.

Next change the location that the complier thingy will look for the file. Most likely you have an entry that looks like #include <SimpleKalmanFilter.h> which will need to be changed to #include "SimpleKalmanFilter.h", then edit the file as per your will. When the project is updated by the author the updates will update the original installed library and all that is needed to do is to change the #include "SimpleKalmanFilter.h" back to #include <SimpleKalmanFilter.h>.

Moderator edit - corrected typos

have you tried clicking your link?

The other folks are much better than I as this stuff but it seems to me that using the same include name will find the same old file.
I usually zip the old library and delete all the files. No way you will again get the old code.