components/nethack/patches/64-bit.patch
author Laszlo Peter <laszlo.peter@oracle.com>
Thu, 08 Sep 2016 17:49:01 -0700
changeset 6869 63619dbf968d
parent 5859 98bc99958997
permissions -rw-r--r--
24611050 warning from prep-patch.mk when running gmake clobber for neutron merge

This patch is required in order to build in 64-bit mode on Solaris.

This patch will not be submitted upstream.

--- include/system.h	2015-12-07 00:26:01.000000000 -0800
+++ include/system.h	2016-04-14 14:53:13.263148993 -0700
@@ -165,7 +165,7 @@ E long FDECL(lseek, (int, long, int));
 #endif
 #if defined(POSIX_TYPES) || defined(__TURBOC__)
 #ifndef bsdi
-E int FDECL(write, (int, const void *, unsigned));
+/* E int FDECL(write, (int, const void *, unsigned)); */
 #endif
 #else
 #ifndef __MWERKS__ /* metrowerks defines write via universal headers */