aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2023-07-04 20:18:12 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2023-07-04 20:18:12 +0000
commitee9654d87fded7ff28288e6270751d242cc58fe4 (patch)
treea77fa9e199b6ed741a29117fa88bde2f644c6508
parent0d74cc8afffcdef68618b18665013e069eb2d105 (diff)
downloadports-ee9654d87fded7ff28288e6270751d242cc58fe4.tar.gz
ports-ee9654d87fded7ff28288e6270751d242cc58fe4.zip
net-p2p/tooth: Fix build with clang16
Notified by: pkg-fallout
-rw-r--r--net-p2p/tooth/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-p2p/tooth/Makefile b/net-p2p/tooth/Makefile
index 8e31854cdc4b..237665c24e3f 100644
--- a/net-p2p/tooth/Makefile
+++ b/net-p2p/tooth/Makefile
@@ -26,6 +26,12 @@ GH_PROJECT= Tooth
GH_TAGNAME= ea4f976
USE_GNOME= gdkpixbuf2 glib20 gtk40 libxml2 pango
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
post-install:
@${RLN} ${STAGEDIR}${PREFIX}/bin/dev.geopjr.tooth \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}