Debian fixed this in a slightly different way: https://sources.debian.org/src/guix/1.4.0-1/gnu/packages/patches/sdl-pango-header-guard.patch/?hl=7#L7 That patch reuses the existing header guard, which is maybe slightly more appropriate (although it's still problematic, of course).
Fix C99 compatibility issue
I have proposed to the SDL folks to accept SDL_Pango within their new GitHub org.
I have written the attached cvs2git script to convert the CVS repo to git.
On second thought I think the best option would be to move sdlpango to the new libsdl-org GitHub organisation, where it can be maintained by the libSDL community. https://github.com/libsdl-org
SourceForge has a procedure to take over projects, I suggest doing that instead of forking this project.
I'm recommending we include the patched SDL2_Pango into the official Tux Paint project (it currently lives in the forked SDL 2.0 project at https://sourceforge.net/projects/tuxpaint-sdl2/files/SDL2_Pango/), or create a completely new fork of SDL_Pango, for SDL2, since it seems this project is dead. :( (See https://sourceforge.net/p/tuxpaint/mailman/message/36416600/)
Port to SDL2