diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-25 10:06:49 +0200 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-25 10:36:27 +0200 |
commit | 46a095804bcec69a735b24284e6894277c0d2891 (patch) | |
tree | c9b888a070e6ebe90b928257d79306e7312d9d96 | |
parent | 2cf06891a152890c803ff67bf31132db6de49414 (diff) | |
download | freebsd-ports-46a095804bcec69a735b24284e6894277c0d2891.zip |
textproc/mgdiff: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | textproc/mgdiff/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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 |