The clean way would have been to submit proper patches to the upstream project and reincorporate the code once released. This will and has to follow!