Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2023 06:57:19 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: e236e1031f35 - main - news/lusernet: Fix build with llvm16
Message-ID:  <202308180657.37I6vJvC082786@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=e236e1031f35f9c6c4f91d96af63ed810417e190

commit e236e1031f35f9c6c4f91d96af63ed810417e190
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-18 05:03:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-18 06:57:11 +0000

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

diff --git a/news/lusernet/Makefile b/news/lusernet/Makefile
index d8cf766302e8..7c76a41f7c28 100644
--- a/news/lusernet/Makefile
+++ b/news/lusernet/Makefile
@@ -14,6 +14,12 @@ USES=		gnustep
 USE_GNUSTEP=	back build
 LIB_DEPENDS=	libPantomime.so:mail/pantomime
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+ADDITIONAL_CPPFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/LuserNET.app/LuserNET
 


home | help

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