$NetBSD: patch-ad,v 1.5 2008/06/22 22:33:37 dsainty Exp $ On Solaris 10 with SunPro, vector<> does not have a method assign(). --- src/libdar/mask_list.cpp.orig 2008-06-22 20:15:54.000000000 +1200 +++ src/libdar/mask_list.cpp 2008-06-22 20:16:37.000000000 +1200 @@ -180,7 +180,9 @@ my_tmp.unique(); // remove duplicates // but we need the indexing of vectors - contenu.assign(my_tmp.begin(), my_tmp.end()); + contenu.clear(); + for (list< basic_string >::const_iterator it = my_tmp.begin(); it != my_tmp.end(); it++) + contenu.push_back(*it); taille = contenu.size(); if(taille < contenu.size()) throw Erange("mask_list::mask_list", tools_printf(gettext("Too much line in file %s (integer overflow)"), filename_list));