Skip to content

Commit

Permalink
net-p2p/tooth: Fix build with clang16
Browse files Browse the repository at this point in the history
Notified by:	pkg-fallout
  • Loading branch information
ehaupt committed Jul 4, 2023
1 parent 0d74cc8 commit ee9654d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions net-p2p/tooth/Makefile
Expand Up @@ -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}
Expand Down

0 comments on commit ee9654d

Please sign in to comment.