Created attachment 254167 [details] port patch Hello This was reported in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281741 Fix discussion https://github.com/ThePhD/sol2/issues/1581 Pick this fix up. Makes sense to add this to quarterly branch as well.
(In reply to Pavel Timofeev from comment #0) Pavel, Thanks for the patch. I think that it would be great if you would also submit it to upstream as a pull request, so that other people would also benefit from it. Yuri
sol2 has open issue on github about this problem https://github.com/ThePhD/sol2/issues/1581. I'm not sure why sol2 hasn't picked it up.
Sorry to bother you. Is there any problem with merging this into the ports tree?
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=36244079e47839605d7ad2a55edc67ec25784fd3 commit 36244079e47839605d7ad2a55edc67ec25784fd3 Author: Pavel Timofeev <timp87@gmail.com> AuthorDate: 2024-10-14 15:02:33 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-10-14 17:08:37 +0000 devel/sol2: fix dependant ports build failure with clang 18 PR: 282018 devel/sol2/Makefile | 10 ++++++++- ...nclude_sol_function__types__stateless.hpp (new) | 24 ++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-)
Can you please commit it to the current quarterly branch as well? Maybe after some time. 2024Q4 is built against freebsd 14.1 now, so I'm getting build failure emails from quarterly branch pipeline about my port which is a dependant of sol2
A commit in branch 2024Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ce57a1a89fb6b3fb64d93cbb5383a4a6008b3bb1 commit ce57a1a89fb6b3fb64d93cbb5383a4a6008b3bb1 Author: Pavel Timofeev <timp87@gmail.com> AuthorDate: 2024-10-14 15:02:33 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-10-15 03:37:52 +0000 devel/sol2: fix dependant ports build failure with clang 18 PR: 282018 (cherry picked from commit 36244079e47839605d7ad2a55edc67ec25784fd3) devel/sol2/Makefile | 10 ++++++++- ...nclude_sol_function__types__stateless.hpp (new) | 24 ++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-)
(In reply to Pavel Timofeev from comment #6) Done.
Thank you very much!