Created attachment 243674 [details] Git formatted patch for devel/codeblocks/Makefile enforcing ISO C++ 2011 Otherwise std::mem_fun() must be changed to std::mem_fn().
This looks reasonable. If possible, please set your name and surname in Bugzilla so I can put correct authorship data into the git commit.
(In reply to Robert Clausecker from comment #1) done
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c2bade1b964baa45b4eb2829f40f663048057e2c commit c2bade1b964baa45b4eb2829f40f663048057e2c Author: Trond Endrestøl <Trond.Endrestol@ximalas.info> AuthorDate: 2023-07-28 21:04:40 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-07-30 22:59:05 +0000 devel/codeblocks: fix build with recent clang Port uses std::mem_fun which went away with C++17. Enforce use of C++11 to fix the build. PR: 272782 MFH: 2023Q3 devel/codeblocks/Makefile | 1 + 1 file changed, 1 insertion(+)
A commit in branch 2023Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=377174bb0ba73be18dc3d4a08e4508f4e8bb73e9 commit 377174bb0ba73be18dc3d4a08e4508f4e8bb73e9 Author: Trond Endrestøl <Trond.Endrestol@ximalas.info> AuthorDate: 2023-07-28 21:04:40 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-07-30 23:01:41 +0000 devel/codeblocks: fix build with recent clang Port uses std::mem_fun which went away with C++17. Enforce use of C++11 to fix the build. PR: 272782 MFH: 2023Q3 (cherry picked from commit c2bade1b964baa45b4eb2829f40f663048057e2c) devel/codeblocks/Makefile | 1 + 1 file changed, 1 insertion(+)
Thank you for your contribution.