Some time between 120.2.2 and 120.3 (commit 69ee10ff4bf1643562000a97b6becb47c1f79175 in github), compiling Simutrans under Haiku stopped working. Today I (finally) had some time to look for the reason and it seems it's due to a missing ',' at the end of a line inside a Haiku specific conditional #ifdef statement (probably the reason no other operating system is affected). It's in line 407 of simsys.cc, instead of
#elif defined __HAIKU__
"/boot/system/non-packaged/data/fonts/",
"/boot/home/config/non-packaged/data/fonts/",
"~/config/non-packaged/data/fonts/",
"/boot/system/data/fonts/ttfonts/"
it should be
#elif defined __HAIKU__
"/boot/system/non-packaged/data/fonts/",
"/boot/home/config/non-packaged/data/fonts/",
"~/config/non-packaged/data/fonts/",
"/boot/system/data/fonts/ttfonts/",
Do you need me to attach a patch?
thank you, committed in r8648
Thanks! BTW, there's another ',' missing in the following linux/BSD/unix section (line 412) which probably didn't negatively affect building on linux because it's not the last one.
Thanks for spotting. Will fix.