components/nethack/patches/64-bit.patch
author Danek Duvall <danek.duvall@oracle.com>
Fri, 27 Mar 2015 16:01:43 -0700
changeset 4029 d0b41e7f3e31
child 5859 98bc99958997
permissions -rw-r--r--
20781120 nethack fails to compile 64-bit

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

This patch will not be submitted upstream.

--- include/system.h.orig	Sun Dec  7 15:39:13 2003
+++ include/system.h	Tue Jul 23 11:00:47 2013
@@ -162,7 +162,7 @@
 # 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 */