On 2021/10/28 12:00, Omar Polo wrote: > > Thomas Frohwein <tfrohw...@fastmail.com> writes: > > > I discussed with Omar off-list that it may be worth tackling this in > > chunks. He suggested starting with games/boswars and games/pingus that > > compile with current scons. > > > > On Tue, Oct 26, 2021 at 05:51:45PM +0200, Omar Polo wrote: > > [...] > >> games/boswars > >> > >> 2to3 changes plus: > >> > >> - some love for the makefile (only aesthetic changes) > >> - drop -fexpensive-optimizations: base clang complained that's a > >> "optimization flag not supported". Should be a no-op. > >> > > [...] > >> games/pingus > >> > >> 2to3 then runs fine.
Maybe just run 2to3 in the port rather than adding a 2to3-generated patch? (If more changes are needed on top of 2to3's output, running 2to3 in pre-patch lets you do that without having the whole lot in patches).