Skip to content

Commit

Permalink
audio/libfishsound: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 23, 2023
1 parent f07d303 commit 9e0e70a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions audio/libfishsound/Makefile
Expand Up @@ -29,6 +29,12 @@ DOXYGEN_IMPLIES=DOCS

DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

post-patch-DOCS-off:
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| doc||' ${WRKSRC}/Makefile.in

Expand Down

0 comments on commit 9e0e70a

Please sign in to comment.