On Sun, Jan 08 2023, Jeremie Courreges-Anglas <j...@wxcvbn.org> wrote:
[...] >> https://wxcvbn.org/~jca/build-failures/amd64-clang/2023-01-03/www/varnish.txt > [patch] > /usr/ports/pobj/varnish-7.2.1/varnish-7.2.1/lib/libvgz/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) Trivial one, the embedded zlib doesn't cope with clang 15. I suggest to disable -Werror. ok? llvm 15 test material: git branch: https://github.com/jcourreges/openbsd-src/tree/llvm15-6 amd64 snaps: https://pbuild-amd64.wxcvbn.org/pub/OpenBSD/snapshots/amd64/ Index: Makefile =================================================================== RCS file: /home/cvs/ports/www/varnish/Makefile,v retrieving revision 1.75 diff -u -p -r1.75 Makefile --- Makefile 6 Dec 2022 09:37:41 -0000 1.75 +++ Makefile 10 Jan 2023 20:06:19 -0000 @@ -32,7 +32,8 @@ SEPARATE_BUILD = Yes CONFIGURE_STYLE = gnu CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}" \ - PYTHON="${MODPY_BIN}" + PYTHON="${MODPY_BIN}" \ + ax_cv_check_cflags___Werror=no CONFIGURE_ARGS = --docdir=${PREFIX}/share/examples/varnish \ --mandir=${PREFIX}/man \ --localstatedir=${LOCALSTATEDIR} -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
signature.asc
Description: PGP signature