Homosexuals were cursed to keep their sexual preferences private and weren't allowed to outwardly express their affections, although history is full of homosexuals with power and prestige. They were considered immoral if they were known to be homosexuals, so they usually practiced in private.
Blacks were cursed with bondage and servitude. They were forced to work, were often abused physically and psychologically, being raped, beaten, or maimed. Or just worked to death. They were considered not to be human but as God given service animals and their children were usually doomed to share the same fate because of the color of their skin.
One major difference is that throughout history, sexuality was supposed to be hidden anyway, and was considered to be generally immoral. There are some non-western societies that currently have a death penalty, based on religious practices, but those societies also have a history of hidden homosexuality as well. There has been a legality issue for sodomy, but generally the persecution of one doesn't compare to the other.
It's in no way equal. But things are improving for both blacks and homosexuals, at different rates.