From afd8e219837dd32fd9eab0109e5a3db885b02e4b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 15 Feb 2010 19:00:54 +0100 Subject: fix compile on NetBSD --- package/tcsh/patches/patch-sh_h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/tcsh/patches/patch-sh_h (limited to 'package/tcsh') diff --git a/package/tcsh/patches/patch-sh_h b/package/tcsh/patches/patch-sh_h new file mode 100644 index 000000000..b638e850f --- /dev/null +++ b/package/tcsh/patches/patch-sh_h @@ -0,0 +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 +@@ -375,9 +375,11 @@ static inline void ignore(intptr_t a) + #include + #include + #endif /* WINNT_NATIVE */ ++#if !defined(BSD) + #ifdef HAVE_SHADOW_H + # include + #endif /* HAVE_SHADOW_H */ ++#endif + #ifdef HAVE_AUTH_H + # include + #endif /* HAVE_AUTH_H */ -- cgit v1.2.3