Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2023 10:06:26 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: e9b6b65e68d0 - main - mail/xpbiff: Fix build with llvm15
Message-ID:  <202306131006.35DA6Qx5095617@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=e9b6b65e68d0da5877223cea728bb2cd5d3ac358

commit e9b6b65e68d0da5877223cea728bb2cd5d3ac358
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-13 08:48:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-13 10:06:14 +0000

    mail/xpbiff: Fix build with llvm15
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
---
 mail/xpbiff/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/mail/xpbiff/Makefile b/mail/xpbiff/Makefile
index 0a460bf7228a..55c82719e883 100644
--- a/mail/xpbiff/Makefile
+++ b/mail/xpbiff/Makefile
@@ -12,9 +12,11 @@ COMMENT?=	Replacement for xbiff that handles popup window with mail header
 
 USES=		imake:noman xorg
 USE_XORG=	xpm xaw xmu
-PLIST_FILES=	bin/xpbiff
+
 WRKSRC=		${WRKDIR}/xpbiff
 
+PLIST_FILES=	bin/xpbiff
+
 .if defined(PREFIX) && ${PREFIX} != ${LOCALBASE}
 YOUBINBINDIR=	${PREFIX}
 .else
@@ -23,6 +25,10 @@ YOUBINBINDIR=	${LOCALBASE}
 
 .include <bsd.port.pre.mk>
 
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 do-extract:
 	@${RM} -r ${WRKDIR}
 	@${MKDIR} ${WRKDIR}



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