Hi, First, a bump of library version would be required as you added new exported functions.
But I think your changes are too invasive for been patches for OpenBSD port tree. You should first deal with upstream for these changes, else it will be a shame for us to deal with future upgrade. Thanks. -- Sebastien Marie