Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Oct 2022 19:14:10 GMT
From:      "=?utf-8?Q?Alexandre=20C.=20Guimar=C3=A3es?=" <rigoletto@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 18d2762dc269 - main - x11-wm/awesome: Fix build with clang14 (CURRENT)
Message-ID:  <202210221914.29MJEAEF082964@gitrepo.freebsd.org>

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

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

commit 18d2762dc269d461fb51ee0235b8b8b1c212190b
Author:     Alexandre C. GuimarĂ£es <rigoletto@FreeBSD.org>
AuthorDate: 2022-10-22 19:12:24 +0000
Commit:     Alexandre C. GuimarĂ£es <rigoletto@FreeBSD.org>
CommitDate: 2022-10-22 19:12:24 +0000

    x11-wm/awesome: Fix build with clang14 (CURRENT)
    
    PR:             267119
    Reported by:    Jonathan Reynolds <jreynolds1729@gmail.com>
---
 x11-wm/awesome/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/x11-wm/awesome/Makefile b/x11-wm/awesome/Makefile
index c725dee084d1..971c078eab2d 100644
--- a/x11-wm/awesome/Makefile
+++ b/x11-wm/awesome/Makefile
@@ -63,5 +63,9 @@ post-patch:
 	# Ref https://github.com/awesomeWM/awesome/issues/1377
 	@${REINPLACE_CMD} -e "/COMMAND lua/ s,lua,${LUA_CMD}," \
 		${WRKSRC}/awesomeConfig.cmake
+	# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267119
+	# Fix build with clang14
+	@${REINPLACE_CMD} -e "s/-export-dynamic/\"-Xlinker -E\"/" \
+		${WRKSRC}/CMakeLists.txt
 
 .include <bsd.port.post.mk>



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