Sat Aug 20 16:02:24 2011 UTC ()
Update to 2.4.1. For a list of changes in this release,
see the documentation.


(cheusov)
diff -r1.36 -r1.37 pkgsrc/archivers/dar/Makefile
diff -r1.10 -r1.11 pkgsrc/archivers/dar/PLIST
diff -r1.24 -r1.25 pkgsrc/archivers/dar/distinfo
diff -r1.7 -r1.8 pkgsrc/archivers/dar/patches/patch-ac
diff -r1.5 -r1.6 pkgsrc/archivers/dar/patches/patch-ad
diff -r1.3 -r1.4 pkgsrc/archivers/dar/patches/patch-af
diff -r0 -r1.1 pkgsrc/archivers/dar/patches/patch-src_check_all__features.cpp

cvs diff -r1.36 -r1.37 pkgsrc/archivers/dar/Makefile (expand / switch to unified diff)

--- pkgsrc/archivers/dar/Makefile 2011/04/22 13:42:49 1.36
+++ pkgsrc/archivers/dar/Makefile 2011/08/20 16:02:23 1.37
@@ -1,91 +1,89 @@ @@ -1,91 +1,89 @@
1# $NetBSD: Makefile,v 1.36 2011/04/22 13:42:49 obache Exp $ 1# $NetBSD: Makefile,v 1.37 2011/08/20 16:02:23 cheusov Exp $
2 2
3DISTNAME= dar-2.3.8 3DISTNAME= dar-2.4.1
4PKGREVISION= 2 
5CATEGORIES= archivers sysutils 4CATEGORIES= archivers sysutils
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dar/} 5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dar/}
7 6
8MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://dar.linux.free.fr/ 8HOMEPAGE= http://dar.linux.free.fr/
10COMMENT= Disk archiver 9COMMENT= Disk archiver
 10LICENSE= gnu-gpl-v2
11 11
12PKG_INSTALLATION_TYPES= overwrite pkgviews 12PKG_INSTALLATION_TYPES= overwrite pkgviews
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14 14
15USE_LANGUAGES= c c++ 15USE_LANGUAGES= c c++
16USE_LIBTOOL= yes 16USE_LIBTOOL= yes
17USE_PKGLOCALEDIR= yes 17USE_PKGLOCALEDIR= yes
18USE_TOOLS+= gmake pkg-config 18USE_TOOLS+= gmake pkg-config bash:run
19 19
20GNU_CONFIGURE= yes 20GNU_CONFIGURE= yes
21CONFIGURE_ARGS+= --disable-dar-static 21CONFIGURE_ARGS+= --disable-dar-static
22CONFIGURE_ARGS+= --enable-static=no 22CONFIGURE_ARGS+= --enable-static=no
23CONFIGURE_ARGS+= --disable-nodump-flag 23CONFIGURE_ARGS+= --disable-nodump-flag
24CONFIGURE_ARGS+= --disable-upx 24CONFIGURE_ARGS+= --disable-upx
25CONFIGURE_ARGS+= --enable-examples 25CONFIGURE_ARGS+= --enable-examples
26CONFIGURE_ARGS+= doxygen=no 26CONFIGURE_ARGS+= doxygen=no
27 27
28PKGCONFIG_OVERRIDE= src/libdar/libdar.pc.tmpl.in 28PKGCONFIG_OVERRIDE= src/libdar/libdar.pc.tmpl.in
29 29
30## We use the logic below to find a path for a non-existent ${BASH}. 30## We use the logic below to find a path for a non-existent ${BASH}.
31## Yeah, I suppose it's a hack, but it does work. 31## Yeah, I suppose it's a hack, but it does work.
32# 32#
33CHECK_INTERPRETER_SKIP+= share/dar/samples/* 33CHECK_INTERPRETER_SKIP+= share/dar/samples/*
34REPLACE_PERL+= doc/samples/dar_backup 34REPLACE_PERL+= doc/samples/dar_backup
35REPLACE_BASH+= doc/samples/*.bash doc/samples/clust*.sh 35REPLACE_BASH+= doc/samples/*.bash doc/samples/clust*.sh
36 36
37.if defined(TOOLS_PLATFORM.bash) && exists(${${TOOLS_PLATFORM.bash}:L}) 
38BASH?= ${TOOLS_PLATFORM.bash} 
39.else 
40BASH?= ${TOOLS_PREFIX.bash}/bin/bash 
41TOOLS_FIND_PREFIX+= TOOLS_PREFIX.bash=bash 
42.endif 
43 
44## Our threading check here is the same as the one used in devel/perl5. 37## Our threading check here is the same as the one used in devel/perl5.
45# 38#
46CHECK_BUILTIN.pthread:=yes 39CHECK_BUILTIN.pthread:=yes
47. include "../../mk/pthread.builtin.mk" 40. include "../../mk/pthread.builtin.mk"
48CHECK_BUILTIN.pthread:=no 41CHECK_BUILTIN.pthread:=no
49 42
50## XXX I'm following the USE_FEATURES semantics used in security/openssl. 43## XXX I'm following the USE_FEATURES semantics used in security/openssl.
51# 44#
52.if !empty(USE_BUILTIN.pthread:tl:Myes) 45.if !empty(USE_BUILTIN.pthread:tl:Myes)
53USE_FEATURES.dar= threads 46USE_FEATURES.dar= threads
54.else 47.else
55USE_FEATURES.dar= # empty 48USE_FEATURES.dar= # empty
56.endif 49.endif
57 50
58PKG_OPTIONS_VAR= PKG_OPTIONS.dar 51PKG_OPTIONS_VAR= PKG_OPTIONS.dar
59PKG_OPTIONS_OPTIONAL_GROUPS+= int 52PKG_OPTIONS_OPTIONAL_GROUPS= int
60PKG_OPTIONS_GROUP.int= dar-int32 dar-int64 53PKG_OPTIONS_GROUP.int= dar-int32 dar-int64
61PKG_SUGGESTED_OPTIONS= dar-int64 ${USE_FEATURES.dar} 54PKG_SUGGESTED_OPTIONS= dar-int64 ${USE_FEATURES.dar}
62PKG_SUPPORTED_OPTIONS= threads 55PKG_SUPPORTED_OPTIONS= threads
63 56
64.include "../../mk/bsd.options.mk" 57.include "../../mk/bsd.options.mk"
65 58
66## Dar is built by default with an arbitrary-size-integer library for 59## Dar is built by default with an arbitrary-size-integer library for
67## managing all file length/timestamp details. If 32-bit or 64-bit 60## managing all file length/timestamp details. If 32-bit or 64-bit
68## integers (with overflow protection) are sufficient for requirements, 61## integers (with overflow protection) are sufficient for requirements,
69## the following options can significantly reduce the run-time memory 62## the following options can significantly reduce the run-time memory
70## and CPU overheads of Dar. 63## and CPU overheads of Dar.
71# 64#
72DARBITS= ${PKG_OPTIONS:C/[^[:digit:]]*//:M[36][24]} 65DARBITS= ${PKG_OPTIONS:C/[^[:digit:]]*//:M[36][24]}
73PLIST_SUBST+= DARBITS=${DARBITS} 66PLIST_SUBST+= DARBITS=${DARBITS}
74 67
75.if !empty(DARBITS) 68.if !empty(DARBITS)
76CONFIGURE_ARGS+= --enable-mode=${DARBITS:Q} 69CONFIGURE_ARGS+= --enable-mode=${DARBITS:Q}
77.endif 70.endif
78 71
 72EGDIR= ${PREFIX}/share/examples/dar
 73INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
 74
 75CONF_FILES= ${EGDIR}/darrc ${PKG_SYSCONFDIR}/darrc
 76
79## We want the threading library to be specified by pkgsrc, and only 77## We want the threading library to be specified by pkgsrc, and only
80## when desired, viz. in the case below. Using PTHREAD_AUTO_VARS 78## when desired, viz. in the case below. Using PTHREAD_AUTO_VARS
81## with the accompanying BUILDLINK_TRANSFORM directive is easier 79## with the accompanying BUILDLINK_TRANSFORM directive is easier
82## then patching configure. 80## then patching configure.
83# 81#
84.if !empty(PKG_OPTIONS:Mthreads) 82.if !empty(PKG_OPTIONS:Mthreads)
85USE_FEATURES.openssl+= threads 83USE_FEATURES.openssl+= threads
86PTHREAD_AUTO_VARS= yes 84PTHREAD_AUTO_VARS= yes
87BUILDLINK_TRANSFORM+= rm:-lpthread 85BUILDLINK_TRANSFORM+= rm:-lpthread
88.else 86.else
89CONFIGURE_ARGS+= --disable-thread-safe 87CONFIGURE_ARGS+= --disable-thread-safe
90.endif 88.endif
91 89

cvs diff -r1.10 -r1.11 pkgsrc/archivers/dar/PLIST (expand / switch to unified diff)

--- pkgsrc/archivers/dar/PLIST 2009/06/14 17:28:16 1.10
+++ pkgsrc/archivers/dar/PLIST 2011/08/20 16:02:23 1.11
@@ -1,98 +1,126 @@ @@ -1,98 +1,126 @@
1@comment $NetBSD: PLIST,v 1.10 2009/06/14 17:28:16 joerg Exp $ 1@comment $NetBSD: PLIST,v 1.11 2011/08/20 16:02:23 cheusov Exp $
2bin/dar 2bin/dar
3bin/dar_cp 3bin/dar_cp
4bin/dar_manager 4bin/dar_manager
5bin/dar_slave 5bin/dar_slave
6bin/dar_xform 6bin/dar_xform
7include/dar/archive.hpp 7include/dar/archive.hpp
 8include/dar/archive_options.hpp
 9include/dar/archive_version.hpp
8include/dar/catalogue.hpp 10include/dar/catalogue.hpp
 11include/dar/compile_time_features.hpp
9include/dar/compressor.hpp 12include/dar/compressor.hpp
10include/dar/config.h 13include/dar/crc.hpp
 14include/dar/criterium.hpp
11include/dar/crypto.hpp 15include/dar/crypto.hpp
12include/dar/data_tree.hpp 16include/dar/data_tree.hpp
13include/dar/database.hpp 17include/dar/database.hpp
 18include/dar/database_options.hpp
14include/dar/deci.hpp 19include/dar/deci.hpp
15include/dar/ea.hpp 20include/dar/ea.hpp
16include/dar/erreurs.hpp 21include/dar/erreurs.hpp
 22include/dar/erreurs_ext.hpp
 23include/dar/escape.hpp
 24include/dar/escape_catalogue.hpp
 25include/dar/fichier.hpp
17include/dar/generic_file.hpp 26include/dar/generic_file.hpp
18include/dar/gettext.h 27include/dar/gettext.h
 28include/dar/hash_fichier.hpp
19include/dar/header_version.hpp 29include/dar/header_version.hpp
20include/dar/infinint.hpp 30include/dar/infinint.hpp
21include/dar/int_tools.hpp 31include/dar/int_tools.hpp
22include/dar/integers.hpp 32include/dar/integers.hpp
 33include/dar/label.hpp
23include/dar/libdar.hpp 34include/dar/libdar.hpp
 35include/dar/libdar_4_4.hpp
 36include/dar/libdar_config.h
 37include/dar/libdar_my_config.h
24include/dar/limitint.hpp 38include/dar/limitint.hpp
25include/dar/mask.hpp 39include/dar/mask.hpp
26include/dar/mask_list.hpp 40include/dar/mask_list.hpp
27include/dar/my_config.h 41include/dar/mem_ui.hpp
 42include/dar/memory_file.hpp
 43include/dar/nls_swap.hpp
28include/dar/path.hpp 44include/dar/path.hpp
 45include/dar/pile.hpp
29include/dar/real_infinint.hpp 46include/dar/real_infinint.hpp
30include/dar/scrambler.hpp 47include/dar/scrambler.hpp
 48include/dar/secu_string.hpp
31include/dar/special_alloc.hpp 49include/dar/special_alloc.hpp
32include/dar/statistics.hpp 50include/dar/statistics.hpp
33include/dar/storage.hpp 51include/dar/storage.hpp
34include/dar/string_file.hpp 52include/dar/string_file.hpp
35include/dar/thread_cancellation.hpp 53include/dar/thread_cancellation.hpp
 54include/dar/tlv.hpp
 55include/dar/tlv_list.hpp
36include/dar/tools.hpp 56include/dar/tools.hpp
37include/dar/tronconneuse.hpp 57include/dar/tronconneuse.hpp
 58include/dar/trontextual.hpp
38include/dar/tuyau.hpp 59include/dar/tuyau.hpp
39include/dar/user_group_bases.hpp 60include/dar/user_group_bases.hpp
40include/dar/user_interaction.hpp 61include/dar/user_interaction.hpp
41include/dar/wrapperlib.hpp 62include/dar/wrapperlib.hpp
42lib/libdar${DARBITS}.la 63lib/libdar${DARBITS}.la
43lib/pkgconfig/libdar${DARBITS}.pc 64lib/pkgconfig/libdar${DARBITS}.pc
44man/man1/dar.1 65man/man1/dar.1
45man/man1/dar_cp.1 66man/man1/dar_cp.1
46man/man1/dar_manager.1 67man/man1/dar_manager.1
47man/man1/dar_slave.1 68man/man1/dar_slave.1
48man/man1/dar_xform.1 69man/man1/dar_xform.1
49share/dar/samples/JH-dar-make_user_backup.sh 70share/dar/samples/JH-dar-make_user_backup.sh
50share/dar/samples/JH-readme.txt 71share/dar/samples/JH-readme.txt
51share/dar/samples/JH_dar_archiver.options 72share/dar/samples/JH_dar_archiver.options
52share/dar/samples/JH_darrc 73share/dar/samples/JH_darrc
 74share/dar/samples/MyBackup.sh.tar.gz
53share/dar/samples/README 75share/dar/samples/README
54share/dar/samples/automatic_backup 76share/dar/samples/automatic_backup
55share/dar/samples/automatic_backup.txt 77share/dar/samples/automatic_backup.txt
56share/dar/samples/cdbackup.sh 78share/dar/samples/cdbackup.sh
57share/dar/samples/cluster_digital_backups.sh 79share/dar/samples/cluster_digital_backups.sh
58share/dar/samples/cluster_digital_readme.txt 80share/dar/samples/cluster_digital_readme.txt
59share/dar/samples/dar_backup 81share/dar/samples/dar_backup
60share/dar/samples/dar_par.dcf 82share/dar/samples/dar_par.dcf
61share/dar/samples/dar_par_create.duc 83share/dar/samples/dar_par_create.duc
62share/dar/samples/dar_par_test.duc 84share/dar/samples/dar_par_test.duc
63share/dar/samples/dar_rqck.bash 85share/dar/samples/dar_rqck.bash
64share/dar/samples/darrc_sample 86share/dar/samples/darrc_sample
65share/dar/samples/index.html 87share/dar/samples/index.html
66share/dar/samples/pause_every_n_slice.duc 88share/dar/samples/pause_every_n_slice.duc
67share/dar/samples/sample1.txt 89share/dar/samples/sample1.txt
68share/doc/dar/FAQ.html 90share/doc/dar/FAQ.html
69share/doc/dar/Features.html 91share/doc/dar/Features.html
70share/doc/dar/Good_Backup_Practice.html 92share/doc/dar/Good_Backup_Practice.html
71share/doc/dar/Known_Bugs.html 93share/doc/dar/Known_Bugs.html
72share/doc/dar/Limitations.html 94share/doc/dar/Limitations.html
73share/doc/dar/Notes.html 95share/doc/dar/Notes.html
74share/doc/dar/README 96share/doc/dar/README
75share/doc/dar/Tutorial.html 97share/doc/dar/Tutorial.html
 98share/doc/dar/api_4_4.html
76share/doc/dar/api_tutorial.html 99share/doc/dar/api_tutorial.html
77share/doc/dar/authentification.html 100share/doc/dar/authentification.html
78share/doc/dar/dar-catalog-1.0.dtd 101share/doc/dar/dar-catalog.dtd
79share/doc/dar/dar-differential-backup-mini-howto.en.html 102share/doc/dar/dar-differential-backup-mini-howto.en.html
80share/doc/dar/dar-differential-backup-mini-howto.es.html 103share/doc/dar/dar-differential-backup-mini-howto.es.html
81share/doc/dar/dar-differential-backup-mini-howto.it.html 104share/doc/dar/dar-differential-backup-mini-howto.it.html
82share/doc/dar/dar_doc.jpg 105share/doc/dar/dar_doc.jpg
83share/doc/dar/dar_key.txt 106share/doc/dar/dar_key.txt
84share/doc/dar/dar_s_doc.jpg 107share/doc/dar/dar_s_doc.jpg
 108share/doc/dar/downloading.html
 109share/doc/dar/from_sources.html
85share/doc/dar/index.html 110share/doc/dar/index.html
86share/doc/dar/man/dar.html 111share/doc/dar/man/dar.html
87share/doc/dar/man/dar_cp.html 112share/doc/dar/man/dar_cp.html
88share/doc/dar/man/dar_manager.html 113share/doc/dar/man/dar_manager.html
89share/doc/dar/man/dar_slave.html 114share/doc/dar/man/dar_slave.html
90share/doc/dar/man/dar_xform.html 115share/doc/dar/man/dar_xform.html
91share/doc/dar/man/index.html 116share/doc/dar/man/index.html
92share/doc/dar/mini-howto/dar-differential-backup-mini-howto.en.html 117share/doc/dar/mini-howto/dar-differential-backup-mini-howto.en.html
93share/doc/dar/mini-howto/dar-differential-backup-mini-howto.es.html 118share/doc/dar/mini-howto/dar-differential-backup-mini-howto.es.html
94share/doc/dar/mini-howto/dar-differential-backup-mini-howto.it.html 119share/doc/dar/mini-howto/dar-differential-backup-mini-howto.it.html
95share/doc/dar/mini-howto/index.html 120share/doc/dar/mini-howto/index.html
 121share/doc/dar/presentation.html
 122share/doc/dar/usage_notes.html
 123share/examples/dar/darrc
96share/locale/de/LC_MESSAGES/dar.mo 124share/locale/de/LC_MESSAGES/dar.mo
97share/locale/fr/LC_MESSAGES/dar.mo 125share/locale/fr/LC_MESSAGES/dar.mo
98share/locale/sv/LC_MESSAGES/dar.mo 126share/locale/sv/LC_MESSAGES/dar.mo

cvs diff -r1.24 -r1.25 pkgsrc/archivers/dar/distinfo (expand / switch to unified diff)

--- pkgsrc/archivers/dar/distinfo 2008/08/02 17:10:13 1.24
+++ pkgsrc/archivers/dar/distinfo 2011/08/20 16:02:23 1.25
@@ -1,12 +1,13 @@ @@ -1,12 +1,13 @@
1$NetBSD: distinfo,v 1.24 2008/08/02 17:10:13 dholland Exp $ 1$NetBSD: distinfo,v 1.25 2011/08/20 16:02:23 cheusov Exp $
2 2
3SHA1 (dar-2.3.8.tar.gz) = d0394ff9dd6a287e3b9b62ebe99e126bb6d8abd0 3SHA1 (dar-2.4.1.tar.gz) = 1fac505e2b6e2b05acd96c42e9bfb135974e9807
4RMD160 (dar-2.3.8.tar.gz) = 0927b59ba0426634ba5c2ca8b7cad157d6579b13 4RMD160 (dar-2.4.1.tar.gz) = d835bd82f9f4f91defb2301084af4c0343e37faf
5Size (dar-2.3.8.tar.gz) = 1195944 bytes 5Size (dar-2.4.1.tar.gz) = 1741146 bytes
6SHA1 (patch-aa) = d9d9cef20573582c2f56aa70ae1b3af98b11725a 6SHA1 (patch-aa) = d9d9cef20573582c2f56aa70ae1b3af98b11725a
7SHA1 (patch-ab) = d442f8ec95909bf9a5e72e1ff10042ec263ec8d2 7SHA1 (patch-ab) = d442f8ec95909bf9a5e72e1ff10042ec263ec8d2
8SHA1 (patch-ac) = 34ba67a1ae794c1069824347b67a204455d18f2e 8SHA1 (patch-ac) = dcbf4e31071c83a167a60a20e4980b35f055a46e
9SHA1 (patch-ad) = a0089fd534a98d5daae87b92b61f869ed146bed3 9SHA1 (patch-ad) = df21f72b12ab19123f1c61e8e1645519c43d7f7b
10SHA1 (patch-ae) = 54220384bf2031df64c38f5abea038382ca37e8e 10SHA1 (patch-ae) = 54220384bf2031df64c38f5abea038382ca37e8e
11SHA1 (patch-af) = c25351dbf2f115b649207f88981710e04a0a038e 11SHA1 (patch-af) = 0fc93ae2638d77b247e6339f3a5819e5eeb059f0
12SHA1 (patch-ag) = 3873d5dd9e387c90977b169e4532891bcf242e49 12SHA1 (patch-ag) = 3873d5dd9e387c90977b169e4532891bcf242e49
 13SHA1 (patch-src_check_all__features.cpp) = 2d962e4c17d93242b281b72bec8ed5cec8aa0e49

cvs diff -r1.7 -r1.8 pkgsrc/archivers/dar/patches/Attic/patch-ac (expand / switch to unified diff)

--- pkgsrc/archivers/dar/patches/Attic/patch-ac 2006/08/30 15:58:25 1.7
+++ pkgsrc/archivers/dar/patches/Attic/patch-ac 2011/08/20 16:02:23 1.8
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1$NetBSD: patch-ac,v 1.7 2006/08/30 15:58:25 rillig Exp $ 1$NetBSD: patch-ac,v 1.8 2011/08/20 16:02:23 cheusov Exp $
2 2
3Solaris has <getopt.h>, but the plain getopt() function is defined in 3Solaris has <getopt.h>, but the plain getopt() function is defined in
4<unistd.h>, so it needs both headers. 4<unistd.h>, so it needs both headers.
5 5
6--- configure.orig 2006-02-25 00:08:32.000000000 +0100 6--- configure.orig 2011-07-21 14:52:29.000000000 +0000
7+++ configure 2006-08-30 17:51:23.544802744 +0200 7+++ configure
8@@ -29861,11 +29861,10 @@ cat >>conftest.$ac_ext <<_ACEOF 8@@ -28383,11 +28383,10 @@ extern "C" {
9 extern "C" { 9 #endif
10 #if HAVE_GETOPT_H 10 #if HAVE_GETOPT_H
11 #include <getopt.h> 11 #include <getopt.h>
12- #else 12- #else
13+ #endif 13+ #endif
14 #if HAVE_UNISTD_H 14 #if HAVE_UNISTD_H
15 #include <unistd.h> 15 #include <unistd.h>
16 #endif 16 #endif
17- #endif 17- #endif
18 } 18 }
19 int 19 int
20 main () 20 main ()

cvs diff -r1.5 -r1.6 pkgsrc/archivers/dar/patches/Attic/patch-ad (expand / switch to unified diff)

--- pkgsrc/archivers/dar/patches/Attic/patch-ad 2008/06/22 22:33:37 1.5
+++ pkgsrc/archivers/dar/patches/Attic/patch-ad 2011/08/20 16:02:23 1.6
@@ -1,17 +1,18 @@ @@ -1,17 +1,18 @@
1$NetBSD: patch-ad,v 1.5 2008/06/22 22:33:37 dsainty Exp $ 1$NetBSD: patch-ad,v 1.6 2011/08/20 16:02:23 cheusov Exp $
2 2
3On Solaris 10 with SunPro, vector<> does not have a method assign(). 3On Solaris 10 with SunPro, vector<> does not have a method assign().
4 4
5--- src/libdar/mask_list.cpp.orig 2008-06-22 20:15:54.000000000 +1200 5--- src/libdar/mask_list.cpp.orig 2011-02-11 20:23:42.000000000 +0000
6+++ src/libdar/mask_list.cpp 2008-06-22 20:16:37.000000000 +1200 6+++ src/libdar/mask_list.cpp
7@@ -180,7 +180,9 @@ 7@@ -200,7 +200,10 @@ namespace libdar
8 my_tmp.unique(); // remove duplicates 8 my_tmp.unique(); // remove duplicates
9  9
10 // but we need the indexing of vectors 10 // converting the sorted list to vector, to get the indexing feature of this type
11- contenu.assign(my_tmp.begin(), my_tmp.end()); 11- contenu.assign(my_tmp.begin(), my_tmp.end());
12+ contenu.clear(); 12+ contenu.clear();
13+ for (list< basic_string<my_char> >::const_iterator it = my_tmp.begin(); it != my_tmp.end(); it++) 13+ for (list< basic_string<my_char> >::const_iterator it = my_tmp.begin(); it != my_tmp.end(); it++)
14+ contenu.push_back(*it); 14+ contenu.push_back(*it);
 15+
15 taille = contenu.size(); 16 taille = contenu.size();
16 if(taille < contenu.size()) 17 if(taille < contenu.size())
17 throw Erange("mask_list::mask_list", tools_printf(gettext("Too much line in file %s (integer overflow)"), filename_list)); 18 throw Erange("mask_list::mask_list", tools_printf(gettext("Too much line in file %S (integer overflow)"), &filename_list_st));

cvs diff -r1.3 -r1.4 pkgsrc/archivers/dar/patches/Attic/patch-af (expand / switch to unified diff)

--- pkgsrc/archivers/dar/patches/Attic/patch-af 2007/03/18 04:36:23 1.3
+++ pkgsrc/archivers/dar/patches/Attic/patch-af 2011/08/20 16:02:23 1.4
@@ -1,34 +1,33 @@ @@ -1,34 +1,33 @@
1$NetBSD: patch-af,v 1.3 2007/03/18 04:36:23 dsainty Exp $ 1$NetBSD: patch-af,v 1.4 2011/08/20 16:02:23 cheusov Exp $
2 2
3Make sure we link with AM_LDFLAGS, which arranges the link and rpath for 3Make sure we link with AM_LDFLAGS, which arranges the link and rpath for
4libintl.so. 4libintl.so.
5 5
6--- src/libdar/Makefile.in.orig 2007-02-26 11:05:04.000000000 +1300 6--- src/libdar/Makefile.in.orig 2011-07-21 14:52:31.000000000 +0000
7+++ src/libdar/Makefile.in 2007-03-13 00:31:49.000000000 +1300 7+++ src/libdar/Makefile.in
8@@ -72,7 +72,7 @@ 8@@ -78,7 +78,7 @@ am_libdar_la_OBJECTS = $(am__objects_1)
9 libdar_la_OBJECTS = $(am_libdar_la_OBJECTS) 9 libdar_la_OBJECTS = $(am_libdar_la_OBJECTS)
10 libdar_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ 10 libdar_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
11 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ 11 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
12- $(CXXFLAGS) $(libdar_la_LDFLAGS) $(LDFLAGS) -o $@ 12- $(CXXFLAGS) $(libdar_la_LDFLAGS) $(LDFLAGS) -o $@
13+ $(CXXFLAGS) $(AM_LDFLAGS) $(libdar_la_LDFLAGS) $(LDFLAGS) -o $@ 13+ $(CXXFLAGS) $(AM_LDFLAGS) $(libdar_la_LDFLAGS) $(LDFLAGS) -o $@
14 @BUILD_MODE32_FALSE@@BUILD_MODE64_FALSE@am_libdar_la_rpath = -rpath \ 14 @BUILD_MODE32_FALSE@@BUILD_MODE64_FALSE@am_libdar_la_rpath = -rpath \
15 @BUILD_MODE32_FALSE@@BUILD_MODE64_FALSE@ $(libdir) 15 @BUILD_MODE32_FALSE@@BUILD_MODE64_FALSE@ $(libdir)
16 libdar32_la_LIBADD = 16 libdar32_la_LIBADD =
17@@ -89,7 +89,7 @@ 17@@ -86,14 +86,14 @@ am_libdar32_la_OBJECTS = $(am__objects_1
18 libdar32_la_OBJECTS = $(am_libdar32_la_OBJECTS) 18 libdar32_la_OBJECTS = $(am_libdar32_la_OBJECTS)
19 libdar32_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ 19 libdar32_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
20 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ 20 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
21- $(CXXFLAGS) $(libdar32_la_LDFLAGS) $(LDFLAGS) -o $@ 21- $(CXXFLAGS) $(libdar32_la_LDFLAGS) $(LDFLAGS) -o $@
22+ $(CXXFLAGS) $(AM_LDFLAGS) $(libdar32_la_LDFLAGS) $(LDFLAGS) -o $@ 22+ $(CXXFLAGS) $(AM_LDFLAGS) $(libdar32_la_LDFLAGS) $(LDFLAGS) -o $@
23 @BUILD_MODE32_TRUE@am_libdar32_la_rpath = -rpath $(libdir) 23 @BUILD_MODE32_TRUE@am_libdar32_la_rpath = -rpath $(libdir)
24 libdar64_la_LIBADD = 24 libdar64_la_LIBADD =
25 am_libdar64_la_OBJECTS = catalogue.lo compressor.lo deci.lo defile.lo \ 25 am_libdar64_la_OBJECTS = $(am__objects_1) limitint.lo
26@@ -105,7 +105,7 @@ 
27 libdar64_la_OBJECTS = $(am_libdar64_la_OBJECTS) 26 libdar64_la_OBJECTS = $(am_libdar64_la_OBJECTS)
28 libdar64_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ 27 libdar64_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
29 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ 28 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
30- $(CXXFLAGS) $(libdar64_la_LDFLAGS) $(LDFLAGS) -o $@ 29- $(CXXFLAGS) $(libdar64_la_LDFLAGS) $(LDFLAGS) -o $@
31+ $(CXXFLAGS) $(AM_LDFLAGS) $(libdar64_la_LDFLAGS) $(LDFLAGS) -o $@ 30+ $(CXXFLAGS) $(AM_LDFLAGS) $(libdar64_la_LDFLAGS) $(LDFLAGS) -o $@
32 @BUILD_MODE32_FALSE@@BUILD_MODE64_TRUE@am_libdar64_la_rpath = -rpath \ 31 @BUILD_MODE32_FALSE@@BUILD_MODE64_TRUE@am_libdar64_la_rpath = -rpath \
33 @BUILD_MODE32_FALSE@@BUILD_MODE64_TRUE@ $(libdir) 32 @BUILD_MODE32_FALSE@@BUILD_MODE64_TRUE@ $(libdir)
34 DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ 33 DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@

File Added: pkgsrc/archivers/dar/patches/Attic/patch-src_check_all__features.cpp
$NetBSD: patch-src_check_all__features.cpp,v 1.1 2011/08/20 16:02:23 cheusov Exp $

exit(3) is declared in stdlib.h (fix for NetBSD)
--- src/check/all_features.cpp.orig	2011-03-31 19:21:02.000000000 +0000
+++ src/check/all_features.cpp
@@ -27,6 +27,8 @@
 
 #include "libdar.hpp"
 
+#include <stdlib.h>
+
 using namespace libdar;
 using namespace std;