]> git.ipfire.org Git - thirdparty/libarchive.git/commit
libarchive: Fix detection of 'major' on Solaris 11.4 1324/head
authorBrad King <brad.king@kitware.com>
Thu, 30 Jan 2020 14:49:22 +0000 (09:49 -0500)
committerBrad King <brad.king@kitware.com>
Thu, 30 Jan 2020 14:49:22 +0000 (09:49 -0500)
commit824956c40df6df495e84a2e4cdc84c29cacd8fdf
tree74760dcfd97851e5d9b4ffce1e73b8300599617f
parent9ebb248419786e116b2533353c27ae6277cf1e7b
libarchive: Fix detection of 'major' on Solaris 11.4

In `archive_pack_dev.c` there is code checking the `HAVE_MAJOR` macro,
but it is not computed.  Port the equivalent logic from
`archive_entry.c` to define the macro.
libarchive/archive_pack_dev.c