Created attachment 254553 [details] Fix build with clang 19 mail/thunderbird fails to build with clang 19 something like this: https://lists.freebsd.org/archives/freebsd-ports/2024-October/006802.html https://github.com/rnpgp/sexpp/issues/51 It can be fixed with the following third-party library patches: https://github.com/rnpgp/rnp/commit/20419f739f632fb30666650544f0055e8d4f1afa https://github.com/rnpgp/sexpp/commit/46744a14ffc235330bb99cebfaf294829c31bba4 Note security/rnp should have the same problem.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=74e2551e863ba50a34faeeec03b82a078e8cb8e2 commit 74e2551e863ba50a34faeeec03b82a078e8cb8e2 Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> AuthorDate: 2024-10-27 16:20:12 +0000 Commit: Christoph Moench-Tegeder <cmt@FreeBSD.org> CommitDate: 2024-10-27 16:20:12 +0000 mail/thunderbird: fix build with clang 19 clang/libcxx 19 is more strict about std::char_traits, causing build failure in the rnp submodule. Import patches from upstream (rnp). PR: 282347 Submitted by: jkim@ mail/thunderbird/files/patch-rnp-clang19 (new) | 200 +++++++++++++++++++++++++ 1 file changed, 200 insertions(+)
A commit in branch 2024Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=cb327445deda2390c38062262c8c4d0cd46829c2 commit cb327445deda2390c38062262c8c4d0cd46829c2 Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> AuthorDate: 2024-10-27 16:20:12 +0000 Commit: Christoph Moench-Tegeder <cmt@FreeBSD.org> CommitDate: 2024-10-27 16:23:23 +0000 mail/thunderbird: fix build with clang 19 clang/libcxx 19 is more strict about std::char_traits, causing build failure in the rnp submodule. Import patches from upstream (rnp). PR: 282347 Submitted by: jkim@ (cherry picked from commit 74e2551e863ba50a34faeeec03b82a078e8cb8e2) mail/thunderbird/files/patch-rnp-clang19 (new) | 200 +++++++++++++++++++++++++ 1 file changed, 200 insertions(+)
I try to keep most patches organized by topic, else it's a PITA down the line when I have to rebase/adapt/update.