diff options
Diffstat (limited to 'games-board/xgammon/files/xgammon-0.98-glibc-2.32.patch')
-rw-r--r-- | games-board/xgammon/files/xgammon-0.98-glibc-2.32.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games-board/xgammon/files/xgammon-0.98-glibc-2.32.patch b/games-board/xgammon/files/xgammon-0.98-glibc-2.32.patch new file mode 100644 index 000000000000..538f873b4132 --- /dev/null +++ b/games-board/xgammon/files/xgammon-0.98-glibc-2.32.patch @@ -0,0 +1,19 @@ +--- a/save.c ++++ b/save.c +@@ -20,6 +20,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include <signal.h> + #include <X11/Intrinsic.h> + +@@ -142,7 +143,7 @@ + fclose(save_file); + + #ifndef AIX +- fprintf (stderr, "xgammon: %s. Sorry and bye!\n", sys_siglist[n]); ++ fprintf (stderr, "xgammon: %s. Sorry and bye!\n", strsignal(n)); + #else + fprintf (stderr, "xgammon: Caught signal %d. Sorry and bye!\n", n); + #endif |