]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC (proactively; not required yet) r339673: Fix stand/ build after r339671.
authorKyle Evans <kevans@FreeBSD.org>
Thu, 24 Oct 2019 03:40:20 +0000 (03:40 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Thu, 24 Oct 2019 03:40:20 +0000 (03:40 +0000)
commitb13f4e5ed28b675d2c300774949498980ef9180f
tree7fcf0ecb9342841c26fbd7a9d7f79d1418194f24
parent64606f1dfb7edb6207134e1a5084720992c73ad7
MFC (proactively; not required yet) r339673: Fix stand/ build after r339671.

ffs_subr.c requires calculate_crc32c() from libkern.  Unfortunately we
cannot just add libkern/crc32.c to libstand because crc32.o is already
compiled from contrib/zlib/crc32.c. Use the include trick to rename
the source.

Note that libstand also provides crc32.c which seems to be unused.
stand/libsa/Makefile
stand/libsa/crc32_libkern.c [new file with mode: 0644]