summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-08-01 09:11:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-08-01 09:11:48 +0200
commit8e9f2708aec5354c6dfbc6015e996d7fd77e0d50 (patch)
treefca20749a2cb8a6e4e86456117e28139b8a43d6b
parent6a00941e3b1854b18edef88647e4ece82bc7fa73 (diff)
fix build on FreeBSD
-rw-r--r--package/tcsh/patches/patch-sh_h11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/tcsh/patches/patch-sh_h b/package/tcsh/patches/patch-sh_h
index b638e850f..029fca58f 100644
--- a/package/tcsh/patches/patch-sh_h
+++ b/package/tcsh/patches/patch-sh_h
@@ -1,5 +1,14 @@
--- tcsh-6.17.00.orig/sh.h 2009-06-25 23:27:37.000000000 +0200
-+++ tcsh-6.17.00/sh.h 2010-02-15 18:45:11.000000000 +0100
++++ tcsh-6.17.00/sh.h 2010-07-31 19:48:01.000000000 +0200
+@@ -338,7 +338,7 @@ static inline void ignore(intptr_t a)
+ # include <sys/filio.h>
+ #endif /* (!FIOCLEX && SUNOS4) || (SYSVREL == 4 && !_SEQUENT_ && !SCO && !_SX ) */
+
+-#if !defined(_MINIX) && !defined(supermax) && !defined(WINNT_NATIVE) && !defined(IRIS4D)
++#if !defined(_MINIX) && !defined(supermax) && !defined(WINNT_NATIVE) && !defined(IRIS4D) && !defined(__FreeBSD__)
+ # include <sys/file.h>
+ #endif /* !_MINIX && !supermax && !WINNT_NATIVE && !defined(IRIS4D) */
+
@@ -375,9 +375,11 @@ static inline void ignore(intptr_t a)
#include <pwd.h>
#include <grp.h>