Skip to content

Commit

Permalink
audio/deadbeef: 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 Jun 24, 2023
1 parent c441b60 commit 05b6297
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions audio/deadbeef/Makefile
Expand Up @@ -206,6 +206,10 @@ PLIST_SUB+= MP3="@comment "
PLIST_SUB+= MP3=""
.endif

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CPPFLAGS+= -Dregister=
.endif

post-patch:
# Do not link to libsupc++ which may be PIC-unsafe (breaks 64-bit arches)
@${REINPLACE_CMD} -e 's, -lsupc++,,' \
Expand Down

0 comments on commit 05b6297

Please sign in to comment.