summaryrefslogtreecommitdiff
path: root/japanese/nethack34/files/patch-include-system.h
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-09-06 17:19:47 +0000
committerJohn Marino <marino@FreeBSD.org>2014-09-06 17:19:47 +0000
commitf715aadad75d19ae40e05243e856fdc869c3f620 (patch)
treee736140f0d24395c7c5a5d2f9fe89e5f11f6c5be /japanese/nethack34/files/patch-include-system.h
parentThe qof section of this port really needs to be broken out into its own (diff)
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
Notes
Notes: svn path=/head/; revision=367456
Diffstat (limited to 'japanese/nethack34/files/patch-include-system.h')
-rw-r--r--japanese/nethack34/files/patch-include-system.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/japanese/nethack34/files/patch-include-system.h b/japanese/nethack34/files/patch-include-system.h
new file mode 100644
index 000000000000..9c0bce6a7791
--- /dev/null
+++ b/japanese/nethack34/files/patch-include-system.h
@@ -0,0 +1,13 @@
+--- 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__)