Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2023 19:27:28 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: 14b946dd9b9e - main - editors/led: Fix build with llvm16
Message-ID:  <202307191927.36JJRSAU016016@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=14b946dd9b9ef9b2a1b6b19f702532fc067fc5ff

commit 14b946dd9b9ef9b2a1b6b19f702532fc067fc5ff
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-19 18:52:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-19 19:27:15 +0000

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

diff --git a/editors/led/Makefile b/editors/led/Makefile
index f7175e4e5516..d869259dcea6 100644
--- a/editors/led/Makefile
+++ b/editors/led/Makefile
@@ -17,6 +17,12 @@ MAKE_JOBS_UNSAFE=	yes
 
 SUB_FILES=	pkg-message
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -E 's,(bin|lib|data)dir),DESTDIR)$$(&,' \
 		${WRKSRC}/Makefile.in



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