Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2023 19:30:57 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9b38437ab28f - main - devel/apache-commons-daemon: Fix build with llvm16
Message-ID:  <202306231930.35NJUvZw074866@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

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

commit 9b38437ab28f16daa376f7782ec5e674bf8cec14
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-23 19:03:56 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-23 19:30:41 +0000

    devel/apache-commons-daemon: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 devel/apache-commons-daemon/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/apache-commons-daemon/Makefile b/devel/apache-commons-daemon/Makefile
index c838e9622158..b8665cdfbf87 100644
--- a/devel/apache-commons-daemon/Makefile
+++ b/devel/apache-commons-daemon/Makefile
@@ -27,6 +27,12 @@ PLIST_FILES=	bin/jsvc %%JAVAJARDIR%%/${PORTNAME}.jar
 
 PORTDOCS=	*
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/jsvc ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${WRKBIN}/${DISTNAME}.jar \


home | help

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