diff -u -r nethack-3.6.0.orig/include/unixconf.h nethack-3.6.0/include/unixconf.h --- nethack-3.6.0.orig/include/unixconf.h 2016-05-27 17:20:03.062318307 -0400 +++ nethack-3.6.0/include/unixconf.h 2016-05-27 17:55:06.332509906 -0400 @@ -36,7 +36,7 @@ #define NETWORK /* if running on a networked system */ /* e.g. Suns sharing a playground through NFS */ /* #define SUNOS4 */ /* SunOS 4.x */ -/* #define LINUX */ /* Another Unix clone */ +#define LINUX /* Another Unix clone */ /* #define CYGWIN32 */ /* Unix on Win32 -- use with case sensitive defines */ /* #define GENIX */ /* Yet Another Unix Clone */ /* #define HISX */ /* Bull Unix for XPS Machines */ @@ -207,7 +207,7 @@ /* #define COMPRESS_OPTIONS "-q" */ #endif -#define FCMASK 0660 /* file creation mask */ +#define FCMASK 0666 /* file creation mask */ /* fcntl(2) is a POSIX-portable call for manipulating file descriptors. * Comment out the USE_FCNTL if for some reason you have a strange Only in nethack-3.6.0/include: unixconf.h~ diff -u -r nethack-3.6.0.orig/sys/unix/Makefile.src nethack-3.6.0/sys/unix/Makefile.src --- nethack-3.6.0.orig/sys/unix/Makefile.src 2016-05-27 17:20:03.082318966 -0400 +++ nethack-3.6.0/sys/unix/Makefile.src 2016-05-27 17:42:47.183397931 -0400 @@ -64,7 +64,7 @@ # if you get setcgtty() warnings during execution, you are feeding gcc # a non-ANSI -- either run fixincludes on it or use # -traditional in CFLAGS -# CC = gcc +CC = gcc # # For Bull DPX/2 systems at B.O.S. 2.0 or higher use the following: # @@ -238,7 +238,7 @@ # WINTTYLIB = -ltermcap # WINTTYLIB = -lcurses # WINTTYLIB = -lcurses16 -# WINTTYLIB = -lncurses +WINTTYLIB = -lncurses #WINTTYLIB = -ltermlib # # libraries for X11 diff -u -r nethack-3.6.0.orig/sys/unix/Makefile.utl nethack-3.6.0/sys/unix/Makefile.utl --- nethack-3.6.0.orig/sys/unix/Makefile.utl 2016-05-27 17:20:03.082318966 -0400 +++ nethack-3.6.0/sys/unix/Makefile.utl 2016-05-27 20:01:54.605040799 -0400 @@ -18,7 +18,7 @@ # if you are using gcc as your compiler, # uncomment the CC definition below if it's not in your environment -# CC = gcc +CC = gcc # # For Bull DPX/2 systems at B.O.S. 2.0 or higher use the following: # @@ -104,11 +104,11 @@ # yacc/lex programs to use to generate *_comp.h, *_lex.c, and *_yacc.c. # if, instead of yacc/lex you have bison/flex, comment/uncomment the following. -YACC = yacc -LEX = lex -# YACC = bison -y +# YACC = yacc +# LEX = lex +YACC = bison -y # YACC = byacc -# LEX = flex +LEX = flex # these are the names of the output files from YACC/LEX. Under MS-DOS # and similar systems, they may differ Only in nethack-3.6.0/sys/unix: Makefile.utl~