[Bug 268814] www/varnish7: fix build with clang 15

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 07 Jan 2023 15:31:01 UTC

            Bug ID: 268814
           Summary: www/varnish7: fix build with clang 15
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: dbaio@freebsd.org
          Reporter: dim@FreeBSD.org
          Assignee: dbaio@freebsd.org
             Flags: maintainer-feedback?(dbaio@freebsd.org)

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
  uLong ZEXPORT adler32(adler, buf, len)

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

You are receiving this mail because:
You are the assignee for the bug.