Fix build for FreeBSD 13.

The minigzip utility has been removed in FreeBSD 14 but still
exists in FreeBSD 13. The upstream revision e9d5486e removed
prototype definitions, rendering the code no longer compliant
with WARNS=5.
This commit is contained in:
Xin LI 2023-09-03 11:49:02 -07:00
parent 05e3998add
commit 02183951bf

View file

@ -4,7 +4,7 @@ SRCDIR= ${SRCTOP}/sys/contrib/zlib/test
PROG= minigzip
WARNS?= 5
WARNS?= 2
CFLAGS+=-DUSE_MMAP
LIBADD= z