components/libarchive/patches/libarchive-archive_write.3.patch
author John Beck <John.Beck@Oracle.COM>
Mon, 17 Jun 2013 14:23:50 -0700
branchs11-update
changeset 2651 9b563675339e
permissions -rw-r--r--
PSARC 2012/356 libarchive 15959922 add libarchive to Userland

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/archive_write.3.orig	Mon Mar 26 19:49:00 2012
+++ libarchive/libarchive/archive_write.3	Fri Nov  9 12:24:57 2012
@@ -25,7 +25,7 @@
 .\" $FreeBSD$
 .\"
 .Dd February 2, 2012
-.Dt ARCHIVE_WRITE 3
+.Dt ARCHIVE_WRITE 3ARCHIVE
 .Os
 .Sh NAME
 .Nm archive_write
@@ -44,7 +44,7 @@
 .\"
 .Ss Create archive object
 See
-.Xr archive_write_new 3 .
+.Xr archive_write_new 3ARCHIVE .
 .Pp
 To write an archive, you must first obtain an initialized
 .Tn struct archive
@@ -53,10 +53,10 @@
 .\"
 .Ss Enable filters and formats, configure block size and padding
 See
-.Xr archive_write_filter 3 ,
-.Xr archive_write_format 3
+.Xr archive_write_filter 3ARCHIVE ,
+.Xr archive_write_format 3ARCHIVE
 and
-.Xr archive_write_blocksize 3 .
+.Xr archive_write_blocksize 3ARCHIVE .
 .Pp
 You can then modify this object for the desired operations with the
 various
@@ -71,11 +71,11 @@
 .\"
 .Ss Set options
 See
-.Xr archive_read_set_options 3 .
+.Xr archive_read_set_options 3ARCHIVE .
 .\"
 .Ss Open archive
 See
-.Xr archive_write_open 3 .
+.Xr archive_write_open 3ARCHIVE .
 .Pp
 Once you have prepared the
 .Tn struct archive
@@ -92,9 +92,9 @@
 .\"
 .Ss Produce archive
 See
-.Xr archive_write_header 3
+.Xr archive_write_header 3ARCHIVE
 and
-.Xr archive_write_data 3 .
+.Xr archive_write_data 3ARCHIVE .
 .Pp
 Individual archive entries are written in a three-step
 process:
@@ -112,7 +112,7 @@
 .\"
 .Ss Release resources
 See
-.Xr archive_write_free 3 .
+.Xr archive_write_free 3ARCHIVE .
 .Pp
 After all entries have been written, use the
 .Fn archive_write_free
@@ -220,11 +220,8 @@
 .Ed
 .Sh SEE ALSO
 .Xr tar 1 ,
-.Xr libarchive 3 ,
-.Xr archive_write_set_options 3 ,
-.Xr cpio 5 ,
-.Xr mtree 5 ,
-.Xr tar 5
+.Xr libarchive 3LIB ,
+.Xr archive_write_set_options 3ARCHIVE
 .Sh HISTORY
 The
 .Nm libarchive