Skip to content

Commit

Permalink
editors/led: 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 19, 2023
1 parent 524c1cd commit 14b946d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions editors/led/Makefile
Expand Up @@ -17,6 +17,12 @@ MAKE_JOBS_UNSAFE= yes

SUB_FILES= pkg-message

.include <bsd.port.options.mk>

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

post-patch:
@${REINPLACE_CMD} -E 's,(bin|lib|data)dir),DESTDIR)$$(&,' \
${WRKSRC}/Makefile.in
Expand Down

0 comments on commit 14b946d

Please sign in to comment.