I have added this patch to the Debian package git repository, and discovered in the process that the fix was already applied upstream in https://github.com/FreeCAD/FreeCAD/pull/8101, commit fe02d63c8c9b1280978be841d04e68a0a55cceb9. -- Happy hacking Petter Reinholdtsen