If the choice is between no vaccine and any vaccine, the precedence should go to whatever can be manufactured fastest, regardless of patents, nation of origin, or countries prioritizing their allies or wannabe allies.
Vaccine supplies need to be diverted now to where the crisis is the worst, if necessary away from the wealthy countries that have purchased most of the supply. It is, of course, understandable that every nation wants to vaccinate its own first, but a country with high levels of vaccination, especially among its more vulnerable populations, can hold things off, especially if they also had big outbreaks before. In addition, excess stockpiles can go where they are needed without even slowing down existing vaccination programs.