From 05b6297b652f4fc4f679b317a46f96c73d13230a Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sat, 24 Jun 2023 04:12:00 +0200 Subject: [PATCH] audio/deadbeef: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- audio/deadbeef/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/audio/deadbeef/Makefile b/audio/deadbeef/Makefile index 203eb9cc52a1d..b74c159bb0c8d 100644 --- a/audio/deadbeef/Makefile +++ b/audio/deadbeef/Makefile @@ -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++,,' \