S.F. supervisors voted Tuesday to approve a controversial housing ordinance that will require the city to prioritize funding drug-free housing.