head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.2 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.2.0.6 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.4 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.2 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.1.0.8 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.6 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.4 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.2 pkgsrc-2011Q3-base:1.1; locks; strict; comment @# @; 1.3 date 2013.06.09.14.35.12; author ryoon; state dead; branches; next 1.2; commitid udOnIwGPtyKJSWSw; 1.2 date 2012.07.03.18.22.08; author joerg; state Exp; branches; next 1.1; 1.1 date 2011.09.12.04.34.29; author dholland; state Exp; branches; next ; desc @@ 1.3 log @Update to 2.11 * Update LICENSE to gnu-gpl-v3 Changelog: 2.11: Fix mt build. In copy-in mode, if directory attributes do not permit writing to it, setting them is delayed until the end of run. This allows to correctly extract files in such directories. In copy-in mode, permissions of a directory are restored if it appears in the file list after files in it (e.g. in listings produced by find . -depth). This fixes debian bug #458079. Fix possible memory overflow in the rmt client code (CVE-2010-0624). 2.10: Ensure record headers are properly packed (fix builds on ARM). Fix exit codes to reliably indicate success or failure of the operation. Fix large file support. Support MinGW builds. Minor bugfixes. 2.9: Licensed under the GPLv3. Bugfixes Honor umask when creating intermediate directories, not specified in the archive (debian bug #430053). 2.8: Option --owner can be used in copy-out mode, allowing to uniformly override the ownership of the files being added to the archive. Bugfixes: Symlinks were handled incorrectly in copy-out mode. Fix handling of large files. Fix setting the file permissions in copy-out mode. Fix CAN-2005-1111 2.7: Improved error checking and diagnostics Fixed CAN-1999-1572 Allow to use --sparse in both copy-in and copy-pass. Fix bug that eventually caused copying out the same hard-linked file several times to archive. Fix several LFS-related issues. Fix Debian bug #335580. @ text @$NetBSD: patch-lib_argp_fmtstream_h,v 1.2 2012/07/03 18:22:08 joerg Exp $ Fix up gcc/c99 inline mess. --- lib/argp-fmtstream.h.orig 2003-10-04 12:28:07.000000000 +0000 +++ lib/argp-fmtstream.h @@@@ -143,6 +143,7 @@@@ extern ssize_t argp_fmtstream_printf (ar __const char *__fmt, ...) __attribute__ ((__format__ (printf, 2, 3))); +#if 0 extern int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); extern int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); @@@@ -153,6 +154,7 @@@@ extern size_t __argp_fmtstream_write (ar __const char *__str, size_t __len); extern size_t argp_fmtstream_write (argp_fmtstream_t __fs, __const char *__str, size_t __len); +#endif /* Access macros for various bits of state. */ #define argp_fmtstream_lmargin(__fs) ((__fs)->lmargin) @@@@ -162,6 +164,7 @@@@ extern size_t argp_fmtstream_write (argp #define __argp_fmtstream_rmargin argp_fmtstream_rmargin #define __argp_fmtstream_wmargin argp_fmtstream_wmargin +#if 0 /* Set __FS's left margin to LMARGIN and return the old value. */ extern size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs, size_t __lmargin); @@@@ -183,6 +186,7 @@@@ extern size_t __argp_fmtstream_set_wmarg /* Return the column number of the current output point in __FS. */ extern size_t argp_fmtstream_point (argp_fmtstream_t __fs); extern size_t __argp_fmtstream_point (argp_fmtstream_t __fs); +#endif /* Internal routines. */ extern void _argp_fmtstream_update (argp_fmtstream_t __fs); @@@@ -206,7 +210,11 @@@@ extern int __argp_fmtstream_ensure (argp #endif #ifndef ARGP_FS_EI +#if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__) #define ARGP_FS_EI extern inline +#else +#define ARGP_FS_EI inline +#endif #endif ARGP_FS_EI size_t @ 1.2 log @Really fix inline mess. @ text @d1 1 a1 1 $NetBSD: patch-lib_argp_fmtstream_h,v 1.1 2011/09/12 04:34:29 dholland Exp $ @ 1.1 log @Patch up gcc/c99 inline mess @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- lib/argp-fmtstream.h~ 2003-10-04 12:28:07.000000000 +0000 d7 33 a39 1 @@@@ -206,7 +206,11 @@@@ extern int __argp_fmtstream_ensure (argp @