git: e600bbab8e62 - main - www/varnish6: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 12 May 2023 18:36:20 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e600bbab8e622781ad3cb59758440bf5e28a5ef6

commit e600bbab8e622781ad3cb59758440bf5e28a5ef6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-12 17:10:53 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-12 18:36:07 +0000

    www/varnish6: Unbreak on HEAD
    
    Approved by:    portmgr (blanket)
---
 www/varnish6/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www/varnish6/Makefile b/www/varnish6/Makefile
index cbedf0405fbe..b1d993b18f40 100644
--- a/www/varnish6/Makefile
+++ b/www/varnish6/Makefile
@@ -49,6 +49,10 @@ OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.pre.mk>
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=deprecated-non-prototype
+.endif
+
 post-patch:
 .if defined(BAD_TESTS)
 	${RM} ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|}