summaryrefslogtreecommitdiff
path: root/japanese/nethack34/files/patch-include-unixconf.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-unixconf.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-unixconf.h')
-rw-r--r--japanese/nethack34/files/patch-include-unixconf.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/japanese/nethack34/files/patch-include-unixconf.h b/japanese/nethack34/files/patch-include-unixconf.h
new file mode 100644
index 000000000000..edfcbe892d10
--- /dev/null
+++ b/japanese/nethack34/files/patch-include-unixconf.h
@@ -0,0 +1,20 @@
+--- include/unixconf.h.orig 2014-08-28 14:59:56.000000000 +0900
++++ include/unixconf.h 2014-08-28 15:23:59.000000000 +0900
+@@ -19,7 +19,7 @@
+ */
+
+ /* define exactly one of the following four choices */
+-/* #define BSD 1 */ /* define for 4.n/Free/Open/Net BSD */
++#define BSD 1 /* define for 4.n/Free/Open/Net BSD */
+ /* also for relatives like SunOS 4.x, DG/UX, and */
+ /* older versions of Linux */
+ /* #define ULTRIX */ /* define for Ultrix v3.0 or higher (but not lower) */
+@@ -284,7 +284,7 @@
+ #endif
+
+ #if defined(BSD) || defined(ULTRIX)
+-# if !defined(DGUX) && !defined(SUNOS4)
++# if !defined(DGUX) && !defined(SUNOS4) && !defined(__FreeBSD__)
+ #define memcpy(d, s, n) bcopy(s, d, n)
+ #define memcmp(s1, s2, n) bcmp(s2, s1, n)
+ # endif