Created attachment 250658 [details] Fix build with clang 18 The attached patch fixed build with clang 18 for me. FYI, I've originally taken this from PLD Linux Distribution: https://github.com/pld-linux/thunderbird/commit/1b415245f46e2d8667ee0448bfeb1ff3a0ad67ee In turn, it was based on the following: https://github.com/rust-lang/rust-bindgen/pull/2689 https://phabricator.services.mozilla.com/D197012
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f1e62d922cb5892cd2684275101fe05e011371b commit 0f1e62d922cb5892cd2684275101fe05e011371b Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> AuthorDate: 2024-05-15 20:13:22 +0000 Commit: Christoph Moench-Tegeder <cmt@FreeBSD.org> CommitDate: 2024-05-15 20:13:22 +0000 mail/thunderbird: fix build with clan18 Sumbitted by: jkim PR: 278989 mail/thunderbird/files/patch-llvm18 (new) | 199 ++++++++++++++++++++++++++++++ 1 file changed, 199 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c6cc9a9508c7b947bf9ed5d08e48056729c2b69 commit 3c6cc9a9508c7b947bf9ed5d08e48056729c2b69 Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> AuthorDate: 2024-05-15 20:14:29 +0000 Commit: Christoph Moench-Tegeder <cmt@FreeBSD.org> CommitDate: 2024-05-15 20:14:29 +0000 www/firefox-esr: fix build with clang18 Submitted by: jkim PR: 278989 www/firefox-esr/files/patch-llvm18 (new) | 199 +++++++++++++++++++++++++++++++ 1 file changed, 199 insertions(+)
I had hoped that nobody would rock the boat for the last few weeks before ESR switches up (128 will be the next ESR), but here we go (and let's fix it for both ports). Thanks anyways :)