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_stat.3.orig Mon Mar 26 19:49:00 2012
+++ libarchive/libarchive/archive_entry_stat.3 Fri Nov 9 12:41:56 2012
@@ -23,7 +23,7 @@
.\" SUCH DAMAGE.
.\"
.Dd February 2, 2012
-.Dt ARCHIVE_ENTRY_STAT 3
+.Dt ARCHIVE_ENTRY_STAT 3ARCHIVE
.Os
.Sh NAME
.Nm archive_entry_stat ,
@@ -224,7 +224,7 @@
and
.Fn archive_entry_ino64
are used by
-.Xr archive_entry_linkify 3
+.Xr archive_entry_linkify 3ARCHIVE
to find hardlinks.
The pair of device and inode is suppossed to identify hardlinked files.
.Pp
@@ -267,8 +267,8 @@
Some archive formats use the combined form, while other formats use
the split form.
.Sh SEE ALSO
-.Xr archive 3 ,
-.Xr archive_entry_acl 3 ,
-.Xr archive_entry_perms 3 ,
-.Xr archive_entry_time 3 ,
+.Xr libarchive 3LIB ,
+.Xr archive_entry_acl 3ARCHIVE ,
+.Xr archive_entry_perms 3ARCHIVE ,
+.Xr archive_entry_time 3ARCHIVE ,
.Xr stat 2