components/libarchive/patches/libarchive-archive_util.3.patch
author John Beck <John.Beck@Oracle.COM>
Tue, 28 May 2013 11:52:39 -0700
changeset 1316 22b5cf35a3ea
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_util.3.orig	Mon Mar 26 19:49:00 2012
+++ libarchive/libarchive/archive_util.3	Fri Nov  9 12:34:22 2012
@@ -25,7 +25,7 @@
 .\" $FreeBSD$
 .\"
 .Dd February 2, 2012
-.Dt ARCHIVE_UTIL 3
+.Dt ARCHIVE_UTIL 3ARCHIVE
 .Os
 .Sh NAME
 .Nm archive_clear_error ,
@@ -84,7 +84,7 @@
 These functions provide access to various information about the
 .Tn struct archive
 object used in the
-.Xr libarchive 3
+.Xr libarchive 3LIB
 library.
 .Bl -tag -compact -width indent
 .It Fn archive_clear_error
@@ -112,13 +112,13 @@
 obtained from passing the result of
 .Fn archive_errno
 to
-.Xr strerror 3 .
+.Xr strerror 3C .
 .It Fn archive_file_count
 Returns a count of the number of files processed by this archive object.
 The count is incremented by calls to
-.Xr archive_write_header 3
+.Xr archive_write_header 3ARCHIVE
 or
-.Xr archive_read_next_header 3 .
+.Xr archive_read_next_header 3ARCHIVE .
 .It Fn archive_filter_code
 Returns a numeric code identifying the indicated filter.
 See
@@ -207,10 +207,10 @@
 not uniformly supported and should not be used.
 .El
 .Sh SEE ALSO
-.Xr archive_read 3 ,
-.Xr archive_write 3 ,
-.Xr libarchive 3 ,
-.Xr printf 3
+.Xr archive_read 3ARCHIVE ,
+.Xr archive_write 3ARCHIVE ,
+.Xr libarchive 3LIB ,
+.Xr printf 3C
 .Sh HISTORY
 The
 .Nm libarchive