www/varnish7: fix build with clang 15

During an exp-run for llvm 15 (see bug 265425), it turned out that
www/varnish7 failed to build with clang 15:

  adler32.c:189:15: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
  uLong ZEXPORT adler32(adler, buf, len)
                ^

This is because varnish needlessly builds with -Werror. Turn it off, so
the warnings can simply be ignored.

PR:		268814
Approved by:	dbaio (maintainer)
MFH:		2023Q1
This commit is contained in:
Dimitry Andric 2023-01-07 16:26:06 +01:00
parent fba89a0c1c
commit 986c668ac6

View file

@ -35,6 +35,8 @@ TEST_TARGET= check
TEST_ARGS= TESTS_PARALLELISM=1
CONFIGURE_ARGS= --localstatedir=${PREFIX} --without-dot
# Needed for clang 15 (#268814)
CONFIGURE_ENV+= ax_cv_check_cflags___Werror=no
.if defined(NO_INET6) || defined(WITHOUT_INET6)
BAD_TESTS= r00832