Without the fix build on ncurses-6.3 fails as:
gpl.c:416:25: error: format not a string literal and no format arguments [-Werror=format-security]
416 | mvwprintw(GPLWin,CurrentY++,2,Messages[CurrentLine++]);
| ^~~~~~~~~
While at it also pull fix for tool chains that default to -fno-common.