]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r269125:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 4 Aug 2014 14:56:49 +0000 (14:56 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 4 Aug 2014 14:56:49 +0000 (14:56 +0000)
commit87a6389a6c6f2ff4191a2de934a86e96c43d32a1
tree51a8ea81ae3bbfc3041a6a73b85efbe52e7971a1
parent90acbe8b98b16d211491235266011f7b04cdaed7
MFC r269125:

In r232153, libarchive 3.0.3 was imported, replacing the archive_hash.h
header with archive_crypto_private.h, and its ARCHIVE_HASH_xxx macros
were renamed to ARCHIVE_CRYPTO_xxx.

Rename these macros in lib/libarchive/config_freebsd.h, to re-enable the
hashes for libarchive again.  This affects the mtree format writer, and
the xar format reader and writer modules.

This also requires changes in the library order for statically linking
rescue, otherwise ld would complain about redefined symbols.  Thanks to
jkim for pointing out the solution.

Reviewed by: kientzle

git-svn-id: svn://svn.freebsd.org/base/stable/10@269519 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libarchive/config_freebsd.h
rescue/rescue/Makefile