Ryan Gordon has made it clear that SDL 1.2 is no longer being maintained and that 1.2.15 is the last public release.
As 1.2 gets harder to maintain (especially on the Mac), perhaps migrating to SDL2 (Or have a compile-time option for choosing 1.2 or 2.0) would cause less headaches in the long-term than just trying to patch SDL 1.2.
SDL2 support is already on the todo list, but don't know when it will happen..
jpernst on github has added SDL2 support here: https://github.com/jpernst/uhexen2-sdl2
It works really well on Sway with SDL_VIDEODRIVER=wayland
I've rebased his series on top of trunk here: https://github.com/sjnewbury/uhexen2
It also includes my High DPI support patch.
Is there a mechanism for submitting for upstream inclusion via github, or shall I send as a patch series or should I squash into one patch and attach here?
The updated version of sdl2 patch is here, as an optional patch for now:
https://sourceforge.net/p/uhexen2/uhexen2/ci/master/tree/patches/sdl2.patch
One of the most important things before merging it is handling SDL2
text input mode -- patches are welcome. Discussion should continue at
https://sourceforge.net/p/uhexen2/feature-requests/40/
Note: For sdl2 text input, comparing stuff to quakespasm may prove useful.