Many South Africans saw parallels between their own struggle against white minority rule and the Palestinian resistance to Israeli occupation.