Re: git: 6998572a74a9 - main - hastd: use zlib's crc32 implementation.
- In reply to: Xin LI : "git: 6998572a74a9 - main - hastd: use zlib's crc32 implementation."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Feb 2023 08:05:38 UTC
Am 03.02.23 um 08:14 schrieb Xin LI: > The branch main has been updated by delphij: > > URL: https://cgit.FreeBSD.org/src/commit/?id=6998572a74a98721781ecd5b6829435259f9825a > > commit 6998572a74a98721781ecd5b6829435259f9825a > Author: Xin LI <delphij@FreeBSD.org> > AuthorDate: 2023-02-03 07:14:21 +0000 > Commit: Xin LI <delphij@FreeBSD.org> > CommitDate: 2023-02-03 07:14:21 +0000 > > hastd: use zlib's crc32 implementation. > > Reviewed by: pjd > MFC after: 2 weeks > Differential Revision: https://reviews.freebsd.org/D35767 This commit broke sbin/hasctl, it still wants to use the removed crc32.c from the hastd directory. The following patch is untested but did allow buildworld to finish. (Untested, since I do not use hast.) 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