diff options
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/dar/distinfo | 3 | ||||
-rw-r--r-- | archivers/dar/patches/patch-ad | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/archivers/dar/distinfo b/archivers/dar/distinfo index e4d350178b8..66c554843a4 100644 --- a/archivers/dar/distinfo +++ b/archivers/dar/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2006/08/30 15:58:25 rillig Exp $ +$NetBSD: distinfo,v 1.14 2006/08/30 18:54:34 rillig Exp $ SHA1 (dar-2.3.0.tar.gz) = e2e6318ad222fe5b7d47ec5d5c3828c83f2004fb RMD160 (dar-2.3.0.tar.gz) = 5f00a95e7eaed35cbbe6c5440970bcb4fc2b8181 @@ -6,3 +6,4 @@ Size (dar-2.3.0.tar.gz) = 1142646 bytes SHA1 (patch-aa) = 6f07f2bf85194cdad58d99c7cafd85e3b2c06031 SHA1 (patch-ab) = 1d8fb3bcd9c0d6a07cb6413d0b94453264f3d499 SHA1 (patch-ac) = 34ba67a1ae794c1069824347b67a204455d18f2e +SHA1 (patch-ad) = b880e88531a834a69e72b9450b0aee756024fd25 diff --git a/archivers/dar/patches/patch-ad b/archivers/dar/patches/patch-ad new file mode 100644 index 00000000000..c418481d98f --- /dev/null +++ b/archivers/dar/patches/patch-ad @@ -0,0 +1,17 @@ +$NetBSD: patch-ad,v 1.3 2006/08/30 18:54:34 rillig Exp $ + +On Solaris 10 with SunPro, vector<> does not have a method assign(). + +--- src/libdar/mask_list.cpp.orig 2006-01-08 17:33:43.000000000 +0100 ++++ src/libdar/mask_list.cpp 2006-08-30 19:03:29.396038900 +0200 +@@ -177,7 +177,9 @@ namespace libdar + tmp.unique(); // remove duplicates + + // but we need the indexing of vectors +- contenu.assign(tmp.begin(), tmp.end()); ++ contenu.clear(); ++ for (list<string>::const_iterator it = tmp.begin(); it != 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)); |