Symantec Corp.'s $10.4-billion purchase of Veritas Software Corp. won approval from shareholders of both companies.