components/libarchive/patches/libarchive-libarchive.3.patch
branchs11-update
changeset 2651 9b563675339e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libarchive/patches/libarchive-libarchive.3.patch	Mon Jun 17 14:23:50 2013 -0700
@@ -0,0 +1,100 @@
+This patch is needed to convert BSD-style section numbers to Solaris-style
+section numbers.  It has not been fed back to the upstream community.  It
+may need to be tweaked slightly for future releases.
+
+--- libarchive/libarchive/libarchive.3.orig	Mon Mar 26 19:49:00 2012
++++ libarchive/libarchive/libarchive.3	Fri Nov  9 12:43:07 2012
+@@ -25,7 +25,7 @@
+ .\" $FreeBSD$
+ .\"
+ .Dd March 18, 2012
+-.Dt LIBARCHIVE 3
++.Dt LIBARCHIVE 3LIB
+ .Os
+ .Sh NAME
+ .Nm libarchive
+@@ -146,21 +146,21 @@
+ .\"
+ .Sh READING AN ARCHIVE
+ See
+-.Xr libarchive_read 3 .
++.Xr libarchive_read 3ARCHIVE .
+ .\"
+ .Sh WRITING AN ARCHIVE
+ See
+-.Xr libarchive_write 3 .
++.Xr libarchive_write 3ARCHIVE .
+ .\"
+ .Sh WRITING ENTRIES TO DISK
+ The
+-.Xr archive_write_disk 3
++.Xr archive_write_disk 3ARCHIVE
+ API allows you to write
+-.Xr archive_entry 3
++.Xr archive_entry 3ARCHIVE
+ objects to disk using the same API used by
+-.Xr archive_write 3 .
++.Xr archive_write 3ARCHIVE .
+ The
+-.Xr archive_write_disk 3
++.Xr archive_write_disk 3ARCHIVE
+ API is used internally by
+ .Fn archive_read_extract ;
+ using it directly can provide greater control over how entries
+@@ -170,9 +170,9 @@
+ operations.
+ .Sh READING ENTRIES FROM DISK
+ The
+-.Xr archive_read_disk 3
++.Xr archive_read_disk 3ARCHIVE
+ supports for populating
+-.Xr archive_entry 3
++.Xr archive_entry 3ARCHIVE
+ objects from information in the filesystem.
+ This includes the information accessible from the
+ .Xr stat 2
+@@ -179,12 +179,12 @@
+ system call as well as ACLs, extended attributes,
+ and other metadata.
+ The
+-.Xr archive_read_disk 3
++.Xr archive_read_disk 3ARCHIVE
+ API also supports iterating over directory trees,
+ which allows directories of files to be read using
+ an API compatible with
+ the
+-.Xr archive_read 3
++.Xr archive_read 3ARCHIVE
+ API.
+ .Sh DESCRIPTION
+ Detailed descriptions of each function are provided by the
+@@ -199,7 +199,7 @@
+ structure contains a complete description of a single archive
+ entry.
+ It uses an opaque interface that is fully documented in
+-.Xr archive_entry 3 .
++.Xr archive_entry 3ARCHIVE .
+ .Pp
+ Users familiar with historic formats should be aware that the newer
+ variants have eliminated most restrictions on the length of textual fields.
+@@ -247,15 +247,14 @@
+ functions can be used to obtain more information.
+ .Sh ENVIRONMENT
+ There are character set conversions within the
+-.Xr archive_entry 3
++.Xr archive_entry 3ARCHIVE
+ functions that are impacted by the currently-selected locale.
+ .Sh SEE ALSO
+ .Xr tar 1 ,
+-.Xr archive_entry 3 ,
+-.Xr archive_read 3 ,
+-.Xr archive_util 3 ,
+-.Xr archive_write 3 ,
+-.Xr tar 5
++.Xr archive_entry 3ARCHIVE ,
++.Xr archive_read 3ARCHIVE ,
++.Xr archive_util 3ARCHIVE ,
++.Xr archive_write 3ARCHIVE
+ .Sh HISTORY
+ The
+ .Nm libarchive