Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2023 20:18:18 GMT
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ee9654d87fde - main - net-p2p/tooth: Fix build with clang16
Message-ID:  <202307042018.364KIIAT097605@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307042018.364KIIAT097605>