Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jul 2023 07:30:36 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ce851496cfb3 - main - net/kdenetwork-filesharing: fix build on powerpc* with llvm < 16
Message-ID:  <202307010730.3617UaNZ084738@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ce851496cfb3cacd5d6ea2e84e4c8edd24bfe787

commit ce851496cfb3cacd5d6ea2e84e4c8edd24bfe787
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-07-01 07:29:38 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-07-01 07:30:31 +0000

    net/kdenetwork-filesharing: fix build on powerpc* with llvm < 16
    
    fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail
---
 net/kdenetwork-filesharing/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/net/kdenetwork-filesharing/Makefile b/net/kdenetwork-filesharing/Makefile
index 85b214306642..73a31714bcb2 100644
--- a/net/kdenetwork-filesharing/Makefile
+++ b/net/kdenetwork-filesharing/Makefile
@@ -17,4 +17,11 @@ USE_XORG=	x11
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH:Mpowerpc*} && ${OSVERSION} < 1400092
+CXX=		clang++${LLVM_VERSION}
+USES+=		llvm:min=16
+.endif
+
 .include <bsd.port.mk>



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