git: 05b6297b652f - main - audio/deadbeef: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 04:38:08 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=05b6297b652f4fc4f679b317a46f96c73d13230a commit 05b6297b652f4fc4f679b317a46f96c73d13230a Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-24 02:12:00 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-24 04:37:52 +0000 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 203eb9cc52a1..b74c159bb0c8 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++,,' \