Questions & Answers about Meu amigo tem um parceiro gay.
Because amigo is masculine singular, and the possessive meu has to agree with the noun it describes.
- meu amigo = my male friend
- minha amiga = my female friend
So the gender of meu/minha matches amigo/amiga, not the speaker.
Portuguese often omits subject pronouns when the verb already makes the subject clear.
- Meu amigo tem um parceiro gay.
- Ele tem um parceiro gay.
Both are possible, but the first one sounds perfectly natural because meu amigo is already the subject. Adding ele would be unnecessary here.