Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2023 08:36:40 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: 46a095804bce - main - textproc/mgdiff: Fix build with llvm16
Message-ID:  <202307250836.36P8ae09054126@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=46a095804bcec69a735b24284e6894277c0d2891

commit 46a095804bcec69a735b24284e6894277c0d2891
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-25 08:06:49 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-25 08:36:27 +0000

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

diff --git a/textproc/mgdiff/Makefile b/textproc/mgdiff/Makefile
index 82fabb58ed79..062925748c92 100644
--- a/textproc/mgdiff/Makefile
+++ b/textproc/mgdiff/Makefile
@@ -21,6 +21,12 @@ DESKTOP_ENTRIES=	"mgdiff" "GUI front end to the UNIX diff command" \
 			"mgdiff" "GNOME;GTK;Motif;Development;System;" \
 			false
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
 	${INSTALL_DATA} ${FILESDIR}/mgdiff-48x48.xpm ${STAGEDIR}${PREFIX}/share/pixmaps



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