git: 3f48646850a7 - main - x11-fonts/afdko: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 20:49:32 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f48646850a7c7ebc19976e1d85d807654ed9c04 commit 3f48646850a7c7ebc19976e1d85d807654ed9c04 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-24 19:50:06 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-24 20:48:38 +0000 x11-fonts/afdko: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- x11-fonts/afdko/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11-fonts/afdko/Makefile b/x11-fonts/afdko/Makefile index 4de09a633c31..f5b4d62fabc0 100644 --- a/x11-fonts/afdko/Makefile +++ b/x11-fonts/afdko/Makefile @@ -14,4 +14,10 @@ USE_GNOME= libxml2 CMAKE_OFF= SKBUILD +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include <bsd.port.mk>