This makes waf compatible with Python 3.12 again. Also, apply modifications needed for MacOS and add as a patch file (see commits 0f2e3b2 and dc6c995). Signed-off-by: Nils Philippsen <nils@tiptoe.de>
0f2e3b2
dc6c995