Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2020 13:59:07 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552867 - head/www/varnish-modules
Message-ID:  <202010211359.09LDx78e002550@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010211359.09LDx78e002550>