nphilipp and falkTX Update to waf 2.0.26
2504203 Aug 29, 2023
Update to waf 2.0.26
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>
2504203