OpenBSD primarily searches for terminfo descriptions in terminfo databases before considering terminfo files. Given the terminfo currently stored in the global database is for st 0.1.1, this leads to conflicts and misbehaviour.
This patch renames st to st-git forcing OpenBSD to use the provided terminfo file.
Once a new stable version of st is out, the corresponding changes to st.info can be pushed upstream to ncurses and then be merged back to OpenBSD, effectively making this patch obsolete for future stable releases. More information on this issue can be found in this thread.