From 54e123ebc9020f0ae7c93dd972ad970049ad38c7 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Thu, 27 Aug 2020 00:07:19 +0200 Subject: games-board/xgammon: Fix building against glibc 2.32 Closes: https://bugs.gentoo.org/715452 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: David Seifert --- .../xgammon/files/xgammon-0.98-glibc-2.32.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 games-board/xgammon/files/xgammon-0.98-glibc-2.32.patch (limited to 'games-board/xgammon/files') 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 + #include ++#include + #include + #include + +@@ -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 -- cgit v1.2.3-18-g5258