Users on another forum complained that Minetest had not been updated in quite some time — the bottled version at 0.4.17 and the current version at 5.0.0 with an expected update for bug fixes in a couple of weeks.
I attempted compiling Minetest from minetest.rb and got weird error messages about math.h functions not declared even after switching to other compilers. Assuming corrupted system files, I backed up the important stuff, formatted the hard drive, installed the latest version of macOs, a restored everything. (Interestingly, the computer ran much faster.)
Looking inside the minetest.rb formula with TextEdit, which likes replacing ‘minetest’ with ‘mintiest’, I removed the line ‘depends_on :x11’ before compiling with brew. Minetest version 0.4.17 compiled without errors; and in the start game tab, the seed ‘-1’ generated a normal but cold looking world.
Next I opened up minetest.rb again formula with TextEdit and changed the following lines:
resource "minetest_game" do url "https://github.com/minetest/minetest_game/archive/5.0.0.tar.gz" sha256 "83688d802f9d8308acf6f95e6845cdbe1ee1bc088a963a30f94cf72ec7265cf8" end
Again I compiled from the formula without any errors and the 5.0.0 folder replaced the 0.4.17 folder. This time I tested the join game tab and logged into the Xanadu server, no problems, everything worked as expected.
The rest of the minetest.rb formula looks complicated. Do I change anything else in there?