svn commit: r552867 - head/www/varnish-modules
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Oct 21 13:59:08 UTC 2020
Author: pkubaj
Date: Wed Oct 21 13:59:07 2020
New Revision: 552867
URL: https://svnweb.freebsd.org/changeset/ports/552867
Log:
www/varnish-modules: fix build on GCC architectures
cc1: warnings being treated as errors
vmod_bodyaccess.c: In function 'vmod_hash_req_body':
vmod_bodyaccess.c:205: warning: 'VSB_delete' is deprecated (declared at /usr/local/include/varnish/vsb.h:79)
vmod_bodyaccess.c: In function 'vmod_rematch_req_body':
vmod_bodyaccess.c:278: warning: 'VSB_delete' is deprecated (declared at /usr/local/include/varnish/vsb.h:79)
Modified:
head/www/varnish-modules/Makefile
Modified: head/www/varnish-modules/Makefile
==============================================================================
--- head/www/varnish-modules/Makefile Wed Oct 21 12:55:33 2020 (r552866)
+++ head/www/varnish-modules/Makefile Wed Oct 21 13:59:07 2020 (r552867)
@@ -27,6 +27,8 @@ MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DOCS
PORTDOCS= *
+CFLAGS+= -Wno-error=deprecated-declarations
+
pre-configure:
cd ${WRKSRC} && ./bootstrap
More information about the svn-ports-all
mailing list