xearth: build fix with gcc 14, refactor (#388565)
authored by kirillrdy and committed by GitHub 1 year ago 385be06d 38f45de4