components/nethack/patches/64-bit.patch
author Vladimir Marek <Vladimir.Marek@oracle.com>
Mon, 20 Jun 2016 07:24:33 +0200
changeset 6259 352cbf24c3f9
parent 5859 98bc99958997
permissions -rw-r--r--
23614944 ISC should be helpful in case of unwritable lease file

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 */