freebsd-ports/japanese/nethack34/files/patch-include-system.h
John Marino f715aadad7 Stage japanese/nethack34 and unbreak
* Update to the latest jnethack patch
 * Remove BROKEN flag
 * Add staging support (inspired by games/nethack)
 * Use base compiler instead of gcc
 * Quick fix for bug 192743 (chown and chmod)
 * marino: Use SUB_FILES instead of roll-your-own pkg-deinstall
 * marino: Remove unnecessary loop for REINPLACE_CMD
 * marino: Simplify docs installation, remove two loops
 * marino: Unmask configure commands
 * marino: Use parentheses and "&&" instead of just ";" on compounds
 * marino: Beef up pkg-descr for those unfamiliar with NetHack

PR:		193206
Submitted by:	WATANABE Kazuhiro
2014-09-06 17:19:47 +00:00

13 lines
551 B
C

--- include/system.h.orig 2014-08-28 14:59:56.000000000 +0900
+++ include/system.h 2014-08-28 15:15:45.000000000 +0900
@@ -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));
+# elif (!defined(SUNOS4) && !defined(bsdi) && !defined(__FreeBSD__)) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
# else
# if !defined(bsdi) && !defined(__FreeBSD__)