summaryrefslogtreecommitdiff
path: root/games-roguelike/nethack/files/nethack-3.6.6-clang16.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-roguelike/nethack/files/nethack-3.6.6-clang16.patch')
-rw-r--r--games-roguelike/nethack/files/nethack-3.6.6-clang16.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/games-roguelike/nethack/files/nethack-3.6.6-clang16.patch b/games-roguelike/nethack/files/nethack-3.6.6-clang16.patch
new file mode 100644
index 000000000000..b8a67644b80e
--- /dev/null
+++ b/games-roguelike/nethack/files/nethack-3.6.6-clang16.patch
@@ -0,0 +1,10 @@
+https://bugs.gentoo.org/874462
+--- a/win/tty/wintty.c
++++ b/win/tty/wintty.c
+@@ -26,2 +26,6 @@
+
++#ifdef DEF_PAGER
++#include <fcntl.h>
++#endif
++
+ #ifndef NO_TERMS