git: e30350e58230 - main - www/mod_http2: Update to 2.0.18

From: Bernard Spil <brnrd_at_FreeBSD.org>
Date: Sun, 11 Jun 2023 10:57:41 UTC
The branch main has been updated by brnrd:

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

commit e30350e58230cfe60daa2f6b44417b410d1dbb6c
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2023-06-11 10:57:36 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2023-06-11 10:57:36 +0000

    www/mod_http2: Update to 2.0.18
---
 www/mod_http2/Makefile | 10 ++++++++--
 www/mod_http2/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/www/mod_http2/Makefile b/www/mod_http2/Makefile
index efda1eb9e154..3d65a808a399 100644
--- a/www/mod_http2/Makefile
+++ b/www/mod_http2/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	mod_http2
-DISTVERSION=	2.0.15
+DISTVERSION=	2.0.18
 CATEGORIES=	www
 MASTER_SITES=	https://github.com/icing/mod_h2/releases/download/v${DISTVERSION}/
 PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
@@ -25,6 +25,12 @@ PORTDOCS=	README README.md
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "i386"
+CFLAGS+=	-Wno-error=tautological-constant-out-of-range-compare
+.endif
+
 post-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
 	${INSTALL_DATA} ${WRKDIR}/200_mod_http2.conf \
@@ -40,4 +46,4 @@ post-install:
 		${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_proxy_h2.so
 	${RM} ${STAGEDIR}${DOCSDIR}/LICENSE
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/mod_http2/distinfo b/www/mod_http2/distinfo
index 97161f31f2d7..5b6b6b5f405c 100644
--- a/www/mod_http2/distinfo
+++ b/www/mod_http2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1684504186
-SHA256 (mod_http2-2.0.15.tar.gz) = b794cce745aef407712348b357b4cadb715284d862367a9539c1c866a7937218
-SIZE (mod_http2-2.0.15.tar.gz) = 1024179
+TIMESTAMP = 1686479145
+SHA256 (mod_http2-2.0.18.tar.gz) = 6cd9ee3e9dc2f1a1193cce19a16b9e3922d423d9b7b1eb2b8f8a2463d0a87a43
+SIZE (mod_http2-2.0.18.tar.gz) = 1025929