git: fdbfaefefa58 - main - hastctl: use zlib's crc32 implementation.

From: Xin LI <delphij_at_FreeBSD.org>
Date: Fri, 03 Feb 2023 08:31:20 UTC
The branch main has been updated by delphij:

URL: https://cgit.FreeBSD.org/src/commit/?id=fdbfaefefa585537273955fc88d7daf5e86c6f2d

commit fdbfaefefa585537273955fc88d7daf5e86c6f2d
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2023-02-03 08:30:08 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2023-02-03 08:30:08 +0000

    hastctl: use zlib's crc32 implementation.
    
    X-MFC-with:     6998572a74a
    MFC after:      2 weeks
---
 sbin/hastctl/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sbin/hastctl/Makefile b/sbin/hastctl/Makefile
index 00c89ef4f743..3f2198e74df6 100644
--- a/sbin/hastctl/Makefile
+++ b/sbin/hastctl/Makefile
@@ -7,7 +7,6 @@ PACKAGE=hast
 
 PROG=	hastctl
 SRCS=	activemap.c
-SRCS+=	crc32.c
 SRCS+=	ebuf.c
 SRCS+=	hast_checksum.c hast_compression.c hast_proto.c hastctl.c
 SRCS+=	lzf.c
@@ -33,7 +32,7 @@ CFLAGS+=-DINET6
 CFLAGS+=-DYY_NO_UNPUT
 CFLAGS+=-DYY_NO_INPUT
 
-LIBADD=	md util
+LIBADD=	md util z
 
 YFLAGS+=-v