git: ee9654d87fde - main - net-p2p/tooth: Fix build with clang16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jul 2023 20:18:18 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ee9654d87fded7ff28288e6270751d242cc58fe4
commit ee9654d87fded7ff28288e6270751d242cc58fe4
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-07-04 20:18:12 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-07-04 20:18:12 +0000
net-p2p/tooth: Fix build with clang16
Notified by: pkg-fallout
---
net-p2p/tooth/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
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}