textproc/mgdiff: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-07-25 10:06:49 +02:00
parent 2cf06891a1
commit 46a095804b

View file

@ -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