A handful of gay fiction writers, including Lars Eighner and Tom Spanbauer, have made use of the Native American concept of berdache or two-spirit (a man who is also a woman at the same time or vice versa) in order to provide an alternative, non-Western and non-homophobic formulation of homosexuality. They point out that the berdache's lifestyle was not reviled; he was accepted by his community and sought out as a spiritual advisor.
Now, I understand how being revered as a spiritual advisor seems eminently preferable to being derided or getting beaten up on the street, but such a simplistic "bad us vs. good them" formulation does us all a disservice as it does not explain in practical, applicable-to-the-modern-era terms how the notion of queer spiritual advisor actually worked.
The anthropologist might tell you that people like the berdache or female shamans in many parts of Asia who are/were also prostitutes are believed to acquire their spiritual insight by occupying the space between the virtuous (or the normal) and the profane. Alas, I can see half my readers saying, "What the Hell!?" right about now, and I wholly agree. This is prettily descriptive, but it is not especially informative.
Instead, let's put it this way: What's missing from the Native American concept of berdache is the irrational fear of the sexual "deviant" and the intolerance that it produces. Granted, you don't WANT your son to become a berdache, but if he proves to be one, you accept it as divine will.
The berdache then functions as a spiritual advisor BECAUSE he is different. After all, when you need help with a particularly knotty problem, you ask the person who you think might have a different perspective, right? Including, irrationally, problems regarding matters totally unrelated to his behavior in bed*. And, since most often all we really need is an outside point of view, the berdache gains a reputation for giving good advice, maybe even, if you're superstitious, "supernaturally" good advice.
And, just in case you thought the gay man's day as "spiritual advisor"** was over and done with, I have six words for you: Queer Eye for the Straight Guy. (^^;
*If someone can explain to me how having gay sex gives one insight into what colors I should paint my tipi, I'm all ears.
**Well, actually, we call 'em gurus these days, and "guru" means...*mock gasp*