I seems to have a fix for it (I tried it locally), but would be glad to
have a confirmation from the original poster if possible:
In unix/disp_sdl.cpp, change the computation of m_display_scale (circa
line 245) with:
m_display_scale = min(float(width) / GetWidth(), float(height)/GetHeight());