The shareholders of South African Massmart chain have overwhelmingly accepted Wal-Mart's offer to buy 51% of their company, the chief executive said Monday, paving the way for Wal-Mart to enter Africa.