From owner-svn-src-vendor@freebsd.org Mon Mar 20 11:55:05 2017 Return-Path: Delivered-To: svn-src-vendor@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BE56D14748; Mon, 20 Mar 2017 11:55:05 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6BBAB1FAE; Mon, 20 Mar 2017 11:55:05 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2KBt4WL095088; Mon, 20 Mar 2017 11:55:04 GMT (envelope-from mm@FreeBSD.org) Received: (from mm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2KBt3t9095081; Mon, 20 Mar 2017 11:55:03 GMT (envelope-from mm@FreeBSD.org) Message-Id: <201703201155.v2KBt3t9095081@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mm set sender to mm@FreeBSD.org using -f From: Martin Matuska Date: Mon, 20 Mar 2017 11:55:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r315635 - vendor/libarchive/dist/libarchive X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2017 11:55:05 -0000 Author: mm Date: Mon Mar 20 11:55:03 2017 New Revision: 315635 URL: https://svnweb.freebsd.org/changeset/base/315635 Log: Update vendor/libarchive to git 3e37a9e051bb7674115ca1e262551a070a92283a Vendor changes: Fix type in archive_read_open(3) Always use extern keyword for shared constants in archive_acl_maps.h Modified: vendor/libarchive/dist/libarchive/archive_acl_maps.h vendor/libarchive/dist/libarchive/archive_acl_maps_darwin.c vendor/libarchive/dist/libarchive/archive_acl_maps_freebsd.c vendor/libarchive/dist/libarchive/archive_acl_maps_linux.c vendor/libarchive/dist/libarchive/archive_acl_maps_sunos.c vendor/libarchive/dist/libarchive/archive_read_open.3 Modified: vendor/libarchive/dist/libarchive/archive_acl_maps.h ============================================================================== --- vendor/libarchive/dist/libarchive/archive_acl_maps.h Mon Mar 20 11:29:40 2017 (r315634) +++ vendor/libarchive/dist/libarchive/archive_acl_maps.h Mon Mar 20 11:55:03 2017 (r315635) @@ -37,7 +37,6 @@ typedef struct { const int p_perm; /* Platform permission or flag */ } acl_perm_map_t; -#ifndef _ARCHIVE_ACL_MAPS_DEFS #if ARCHIVE_ACL_POSIX1E extern const acl_perm_map_t acl_posix_perm_map[]; extern const int acl_posix_perm_map_size; @@ -48,5 +47,4 @@ extern const int acl_nfs4_perm_map_size; extern const acl_perm_map_t acl_nfs4_flag_map[]; extern const int acl_nfs4_flag_map_size; #endif -#endif /* !_ARCHIVE_ACL_MAPS_DEFS */ #endif /* ARCHIVE_ACL_MAPS_H_INCLUDED */ Modified: vendor/libarchive/dist/libarchive/archive_acl_maps_darwin.c ============================================================================== --- vendor/libarchive/dist/libarchive/archive_acl_maps_darwin.c Mon Mar 20 11:29:40 2017 (r315634) +++ vendor/libarchive/dist/libarchive/archive_acl_maps_darwin.c Mon Mar 20 11:55:03 2017 (r315635) @@ -36,7 +36,6 @@ #include "archive_entry.h" #include "archive_private.h" #include "archive_read_disk_private.h" -#define _ARCHIVE_ACL_MAPS_DEFS #include "archive_acl_maps.h" const acl_perm_map_t acl_nfs4_perm_map[] = { Modified: vendor/libarchive/dist/libarchive/archive_acl_maps_freebsd.c ============================================================================== --- vendor/libarchive/dist/libarchive/archive_acl_maps_freebsd.c Mon Mar 20 11:29:40 2017 (r315634) +++ vendor/libarchive/dist/libarchive/archive_acl_maps_freebsd.c Mon Mar 20 11:55:03 2017 (r315635) @@ -36,7 +36,6 @@ #include "archive_entry.h" #include "archive_private.h" #include "archive_read_disk_private.h" -#define _ARCHIVE_ACL_MAPS_DEFS #include "archive_acl_maps.h" const acl_perm_map_t acl_posix_perm_map[] = { Modified: vendor/libarchive/dist/libarchive/archive_acl_maps_linux.c ============================================================================== --- vendor/libarchive/dist/libarchive/archive_acl_maps_linux.c Mon Mar 20 11:29:40 2017 (r315634) +++ vendor/libarchive/dist/libarchive/archive_acl_maps_linux.c Mon Mar 20 11:55:03 2017 (r315635) @@ -39,7 +39,6 @@ #include "archive_entry.h" #include "archive_private.h" #include "archive_read_disk_private.h" -#define _ARCHIVE_ACL_MAPS_DEFS #include "archive_acl_maps.h" #if ARCHIVE_ACL_LIBACL Modified: vendor/libarchive/dist/libarchive/archive_acl_maps_sunos.c ============================================================================== --- vendor/libarchive/dist/libarchive/archive_acl_maps_sunos.c Mon Mar 20 11:29:40 2017 (r315634) +++ vendor/libarchive/dist/libarchive/archive_acl_maps_sunos.c Mon Mar 20 11:55:03 2017 (r315635) @@ -36,7 +36,6 @@ #include "archive_entry.h" #include "archive_private.h" #include "archive_read_disk_private.h" -#define _ARCHIVE_ACL_MAPS_DEFS #include "archive_acl_maps.h" const acl_perm_map_t acl_posix_perm_map[] = { Modified: vendor/libarchive/dist/libarchive/archive_read_open.3 ============================================================================== --- vendor/libarchive/dist/libarchive/archive_read_open.3 Mon Mar 20 11:29:40 2017 (r315634) +++ vendor/libarchive/dist/libarchive/archive_read_open.3 Mon Mar 20 11:55:03 2017 (r315635) @@ -67,7 +67,7 @@ Streaming Archive Library (libarchive, - .Fa "size_t block_size" .Fc .Ft int -.Fn archive_read_open_memory "struct archive *" "void *buff" "size_t size" +.Fn archive_read_open_memory "struct archive *" "const void *buff" "size_t size" .Sh DESCRIPTION .Bl -tag -compact -width indent .It Fn archive_read_open