A gay rights supporter waved a flag at City Hall in San Francisco.