IP laws that discriminate against minorities: can you help us list them?

A distinguished academic intellectual property professor who quite by chance also happens to be a good friend of the IPKat has asked him to crowd-source a request for information that has been troubling her. She asks:
Heaven forfend!
“Does anyone know if some countries have IP laws with provisions discriminating against minorities, such against women, against certain sexual orientations or religious groups? I am thinking for instance of provisions preventing women from obtaining a patent etc. (in the past some countries discriminated against foreigners: this is taken care of by national treatment now -- although some countries may still have such provisions if they are not part of TRIPs and most other IP conventions).   I imagine that this sort of directly discriminatory intellectual property laws does not exist and that forms of discrimination may not be written as such in the law, but may happen in practice (such intellectual property offices practices). If so, I'm interested in that too.”
While the male to female sex ratio is reflected in a birthrate of 101 men to every 100 women, Merpel thinks that women are a majority because they tend to live more than 101 years for every 100 lived by men (there are some interesting statistics here).  Be that as it may, if you know of anything that smacks of discrimination, do let our professorial friend know.