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_entry.3.orig Mon Mar 26 19:49:00 2012
+++ libarchive/libarchive/archive_entry.3 Fri Nov 9 12:39:50 2012
@@ -26,7 +26,7 @@
.\" $FreeBSD$
.\"
.Dd Feburary 2, 2012
-.Dt ARCHIVE_ENTRY 3
+.Dt ARCHIVE_ENTRY 3ARCHIVE
.Os
.Sh NAME
.Nm archive_entry_clear ,
@@ -57,7 +57,7 @@
.Tn struct stat
plus associated pathname, textual group and user names, etc.
These objects are used by
-.Xr libarchive 3
+.Xr libarchive 3LIB
to represent the metadata associated with a particular
entry in an archive.
.Ss Create and Destroy
@@ -84,17 +84,17 @@
.Ss Function groups
Due to high number of functions, the accessor functions can be found in
man pages grouped by the purpose.
-.Bl -tag -width ".Xr archive_entry_perms 3"
-.It Xr archive_entry_acl 3
+.Bl -tag -width ".Xr archive_entry_perms 3ARCHIVE"
+.It Xr archive_entry_acl 3ARCHIVE
Access Control List manipulation
-.It Xr archive_entry_paths 3
+.It Xr archive_entry_paths 3ARCHIVE
Path name manipulation
-.It Xr archive_entry_perms 3
+.It Xr archive_entry_perms 3ARCHIVE
User, group and mode manipulation
-.It Xr archive_entry_stat 3
+.It Xr archive_entry_stat 3ARCHIVE
Functions not in the other groups and copying to/from
.Vt struct stat .
-.It Xr archive_entry_time 3
+.It Xr archive_entry_time 3ARCHIVE
Time field manipulation
.El
.Pp
@@ -131,11 +131,11 @@
.\" .Sh RETURN VALUES
.\" .Sh ERRORS
.Sh SEE ALSO
-.Xr archive 3 ,
-.Xr archive_entry_acl 3 ,
-.Xr archive_entry_paths 3 ,
-.Xr archive_entry_perms 3 ,
-.Xr archive_entry_time 3
+.Xr libarchive 3LIB ,
+.Xr archive_entry_acl 3ARCHIVE ,
+.Xr archive_entry_paths 3ARCHIVE ,
+.Xr archive_entry_perms 3ARCHIVE ,
+.Xr archive_entry_time 3ARCHIVE
.Sh HISTORY
The
.Nm libarchive