mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:17:44 +00:00
Ports: Add nethack
This commit is contained in:
parent
5a4206ef2e
commit
509c5c6577
7 changed files with 452 additions and 0 deletions
14
Ports/nethack/patches/fcntl.patch
Normal file
14
Ports/nethack/patches/fcntl.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
diff -Naur NetHack-NetHack-3.6.6_Released/include/unixconf.h NetHack-NetHack-3.6.6_Released.serenity/include/unixconf.h
|
||||
--- NetHack-NetHack-3.6.6_Released/include/unixconf.h 2020-03-08 18:29:31.000000000 +0100
|
||||
+++ NetHack-NetHack-3.6.6_Released.serenity/include/unixconf.h 2021-04-11 21:54:47.295254864 +0200
|
||||
@@ -246,8 +246,10 @@
|
||||
* Comment out the USE_FCNTL if for some reason you have a strange
|
||||
* OS/filesystem combination for which fcntl(2) does not work. */
|
||||
#ifdef POSIX_TYPES
|
||||
+#ifndef __serenity__
|
||||
#define USE_FCNTL
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
/*
|
||||
* The remainder of the file should not need to be changed.
|
Loading…
Add table
Add a link
Reference in a new issue