svn commit: r512556 - head/www/varnish-libvmod-dynamic
Antoine Brodin
antoine at FreeBSD.org
Sun Sep 22 06:15:28 UTC 2019
Author: antoine
Date: Sun Sep 22 06:15:27 2019
New Revision: 512556
URL: https://svnweb.freebsd.org/changeset/ports/512556
Log:
Mark BROKEN
vmod_dynamic.c:629:2: error: implicit declaration of function 'VRT_rel_vcl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
VRT_rel_vcl(&ctx, &obj->vclref);
^
vmod_dynamic.c:645:16: error: implicit declaration of function 'VRT_ref_vcl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
obj->vclref = VRT_ref_vcl(&ctx, "vmod dynamic");
^
vmod_dynamic.c:645:14: error: incompatible integer to pointer conversion assigning to 'struct vclref *' from 'int' [-Werror,-Wint-conversion]
obj->vclref = VRT_ref_vcl(&ctx, "vmod dynamic");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vmod_dynamic.c:873:2: error: incomplete definition of type 'struct vrt_acl'
CHECK_OBJ_ORNULL(whitelist, VRT_ACL_MAGIC);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/varnish/miniobj.h:51:16: note: expanded from macro 'CHECK_OBJ_ORNULL'
assert((ptr)->magic == type_magic); \
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/varnish/vas.h:61:8: note: expanded from macro 'assert'
if (!(e)) { \
^
/usr/local/include/varnish/vrt.h:167:8: note: forward declaration of 'struct vrt_acl'
struct vrt_acl;
^
vmod_dynamic.c:873:30: error: use of undeclared identifier 'VRT_ACL_MAGIC'
CHECK_OBJ_ORNULL(whitelist, VRT_ACL_MAGIC);
^
Reported by: pkg-fallout
Modified:
head/www/varnish-libvmod-dynamic/Makefile
Modified: head/www/varnish-libvmod-dynamic/Makefile
==============================================================================
--- head/www/varnish-libvmod-dynamic/Makefile Sun Sep 22 06:11:24 2019 (r512555)
+++ head/www/varnish-libvmod-dynamic/Makefile Sun Sep 22 06:15:27 2019 (r512556)
@@ -11,6 +11,8 @@ COMMENT= Varnish Module (vmod) for dynamic backends
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+BROKEN= error: implicit declaration of function 'VRT_rel_vcl' is invalid in C99
+
LIB_DEPENDS= libgetdns.so:dns/getdns
BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR}
More information about the svn-ports-all
mailing list