Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jan 2026 22:44:58 +0000
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: 468bb34a9db8 - main - x11/contour: fix build on powerpc*
Message-ID:  <696184ea.273e6.43146cd0@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by pkubaj:

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

commit 468bb34a9db85bc87876085645547eca7f55319c
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-01-09 14:11:36 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-01-09 22:44:47 +0000

    x11/contour: fix build on powerpc*
    
    Workaround for clang crash:
    Assertion failed: (isValid()), function getFilename, file /usr/src/contrib/llvm-project/clang/include/clang/Basic/SourceLocation.h, line 328.
---
 x11/contour/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/x11/contour/Makefile b/x11/contour/Makefile
index 7a2482b0265a..9bdd9041f892 100644
--- a/x11/contour/Makefile
+++ b/x11/contour/Makefile
@@ -50,6 +50,10 @@ EXTRA_PATCHES=	${PATCHDIR}/extra-patch-src_crispy_read__selector.h
 BUILD_DEPENDS+=	tic:devel/ncurses
 .endif
 
+.if ${ARCH:Mpowerpc*}
+USES+=		compiler:gcc-c++11-lib
+.endif
+
 post-install:
 	@${RM} -r ${STAGEDIR}${DATADIR}
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d \


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696184ea.273e6.43146cd0>