aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-24 19:50:06 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-24 20:48:38 +0000
commit3f48646850a7c7ebc19976e1d85d807654ed9c04 (patch)
tree4d0b56e9fab776fe613c4c4843a93afea3519d94
parent5ada4a93fe96ca3fb289ff2291370577c57ae1d9 (diff)
downloadports-3f48646850a7c7ebc19976e1d85d807654ed9c04.tar.gz
ports-3f48646850a7c7ebc19976e1d85d807654ed9c04.zip
x11-fonts/afdko: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--x11-fonts/afdko/Makefile6
1 files changed, 6 insertions, 0 deletions
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>