FreeBSD Bugzilla – Attachment 239332 Details for
Bug 268814
www/varnish7: fix build with clang 15
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
www/varnish7: fix build with clang 15
www__varnish7-fix-clang15-build-1.diff (text/plain), 1.04 KB, created by
Dimitry Andric
on 2023-01-07 15:31:26 UTC
(
hide
)
Description:
www/varnish7: fix build with clang 15
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2023-01-07 15:31:26 UTC
Size:
1.04 KB
patch
obsolete
>commit 9e65eaffe3fa6777012fbae8585a47e570aceb2e >Author: Dimitry Andric <dim@FreeBSD.org> >Date: Sat Jan 7 16:26:06 2023 +0100 > > 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. > >diff --git a/www/varnish7/Makefile b/www/varnish7/Makefile >index ee941e2f1848..cd838b45aafc 100644 >--- a/www/varnish7/Makefile >+++ b/www/varnish7/Makefile >@@ -35,6 +35,7 @@ TEST_TARGET= check > TEST_ARGS= TESTS_PARALLELISM=1 > > CONFIGURE_ARGS= --localstatedir=${PREFIX} --without-dot >+CONFIGURE_ENV+= ax_cv_check_cflags___Werror=no > > .if defined(NO_INET6) || defined(WITHOUT_INET6) > BAD_TESTS= r00832
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 268814
: 239332