Index: head/games/falconseye/files/patch-include_system_h =================================================================== --- head/games/falconseye/files/patch-include_system_h (revision 419351) +++ head/games/falconseye/files/patch-include_system_h (revision 419352) @@ -1,27 +1,27 @@ --- include/system.h.orig Sun Jun 24 18:57:16 2001 +++ include/system.h Fri Aug 24 01:19:07 2001 @@ -78,7 +78,7 @@ E long NDECL(random); # endif # if !defined(SUNOS4) || defined(RANDOM) -E void FDECL(srandom, (unsigned int)); -+E void FDECL(srandom, (unsigned long)); ++#include /* srandom() differs between versions of FreeBSD. */ # else # if !defined(bsdi) && !defined(__FreeBSD__) E int FDECL(srandom, (unsigned int)); @@ -513,11 +513,15 @@ # endif # endif +# if defined(BSD) +/* no declaration needed; it's in time.h */ +#else # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE)) E time_t FDECL(time, (time_t *)); # else E long FDECL(time, (time_t *)); # endif /* ULTRIX */ +#endif #ifdef VMS /* used in makedefs.c, but missing from gcc-vms's */ Index: head/games/nethack34/files/patch-include-system.h =================================================================== --- head/games/nethack34/files/patch-include-system.h (revision 419351) +++ head/games/nethack34/files/patch-include-system.h (revision 419352) @@ -1,13 +1,13 @@ --- include/system.h.orig Sat Aug 30 09:07:23 2003 +++ include/system.h Tue Sep 2 00:39:39 2003 @@ -79,7 +79,9 @@ # if !defined(__SC__) && !defined(LINUX) E long NDECL(random); # endif -# if (!defined(SUNOS4) && !defined(bsdi) && !defined(__FreeBSD__)) || defined(RANDOM) +# if defined(__FreeBSD__) -+E void FDECL(srandom, (unsigned long)); ++#include /* srandom() differs between versions of FreeBSD. */ +# elif (!defined(SUNOS4) && !defined(bsdi) && !defined(__FreeBSD__)) || defined(RANDOM) E void FDECL(srandom, (unsigned int)); # else # if !defined(bsdi) && !defined(__FreeBSD__) Index: head/games/nethack36/files/patch-include-system.h =================================================================== --- head/games/nethack36/files/patch-include-system.h (revision 419351) +++ head/games/nethack36/files/patch-include-system.h (revision 419352) @@ -1,13 +1,13 @@ --- include/system.h.orig 2015-12-07 08:26:01 UTC +++ include/system.h @@ -81,7 +81,9 @@ typedef long off_t; #if !defined(__SC__) && !defined(LINUX) E long NDECL(random); #endif -#if (!defined(SUNOS4) && !defined(bsdi) && !defined(__FreeBSD__)) \ +# if defined(__FreeBSD__) -+E void FDECL(srandom, (unsigned long)); ++#include /* srandom() differs between versions of FreeBSD. */ +#elif (!defined(SUNOS4) && !defined(bsdi) && !defined(__FreeBSD__)) \ || defined(RANDOM) E void FDECL(srandom, (unsigned int)); #else