Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 2023 18:09:16 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: ab7d3166b393 - main - comms/libfap: Fix build with llvm15
Message-ID:  <202306051809.355I9Gup067577@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit ab7d3166b3935ef4dcbc847c126044d54e38a1e9
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-05 17:13:38 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-05 18:09:01 +0000

    comms/libfap: Fix build with llvm15
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
---
 comms/libfap/Makefile | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/comms/libfap/Makefile b/comms/libfap/Makefile
index a7f299be03e2..3f4d38673423 100644
--- a/comms/libfap/Makefile
+++ b/comms/libfap/Makefile
@@ -13,8 +13,16 @@ LICENSE_COMB=	dual
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		libtool
-HAS_CONFIGURE=	yes
 USE_LDCONFIG=	yes
+
+HAS_CONFIGURE=	yes
+
 INSTALL_TARGET=	install-strip
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>



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