Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 04:38:08 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 05b6297b652f - main - audio/deadbeef: Fix build with llvm16
Message-ID:  <202306240438.35O4c8Hc073705@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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++,,' \


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306240438.35O4c8Hc073705>