Sorry Juha, I did not see this discussion previously.
I just tried main and while it builds a runnable Lazarus, my app will not build, I get an unhandled exception, EAccessViolation, possibly, I think during linking.
I went back to a main of two or so weeks ago (that I had already installed) and its fine but I have not confirmed its the patch you just applied causing the AV. I'm testing on an old, steam powered Intel Sierra Mac and its a slow process and I cannot do much more tonight, sorry.
Will get back to it as soon as I can ....
Davo