From a9b039798af97d2864e04664211efe719b89a557 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 20 Sep 2005 14:18:02 +0000 Subject: Fix build problem under NetBSD-current. --- shells/tcsh/distinfo | 3 ++- shells/tcsh/patches/patch-ab | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 shells/tcsh/patches/patch-ab (limited to 'shells') diff --git a/shells/tcsh/distinfo b/shells/tcsh/distinfo index 0f78b74c010..64c480fbd43 100644 --- a/shells/tcsh/distinfo +++ b/shells/tcsh/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.17 2005/07/14 23:58:37 grant Exp $ +$NetBSD: distinfo,v 1.18 2005/09/20 14:18:02 tron Exp $ SHA1 (tcsh-6.14.00.tar.gz) = 55a08b31a57cfd8631edd1fb7e42f18578d8198a RMD160 (tcsh-6.14.00.tar.gz) = fa7635225ceb0225aedcfad5dd9d8e17d8d70849 Size (tcsh-6.14.00.tar.gz) = 859780 bytes SHA1 (patch-aa) = 98ab704908a6fe2f570d2688c2a9bdb600f630eb +SHA1 (patch-ab) = b368e3b5d82ed5eb1148ceeaef675bc9a33c7309 SHA1 (patch-ad) = 0cb983da575050d7aa7ac41dc0c980302503768b SHA1 (patch-ap) = 332a71c54a3bba11b96e43b94b2d050a3a114540 diff --git a/shells/tcsh/patches/patch-ab b/shells/tcsh/patches/patch-ab new file mode 100644 index 00000000000..ca1986c7fa2 --- /dev/null +++ b/shells/tcsh/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.9 2005/09/20 14:18:02 tron Exp $ + +--- tc.sig.h.orig 2005-01-18 20:24:51.000000000 +0000 ++++ tc.sig.h 2005-09-20 15:13:22.000000000 +0100 +@@ -58,7 +58,7 @@ + /* + * sigvec is not the same everywhere + */ +-# if defined(_SEQUENT_) || (defined(_POSIX_SOURCE) && !defined(hpux)) ++# if defined(_SEQUENT_) || (defined(_POSIX_SOURCE) && !defined(hpux)) || defined(__NetBSD__) + # define HAVE_SIGVEC + # define mysigvec(a, b, c) sigaction(a, b, c) + typedef struct sigaction sigvec_t; +@@ -67,7 +67,7 @@ + # undef sv_flags + # define sv_handler sa_handler + # define sv_flags sa_flags +-# endif /* _SEQUENT || (_POSIX_SOURCE && !hpux) */ ++# endif /* _SEQUENT || (_POSIX_SOURCE && !hpux) || __NetBSD__ */ + + # ifdef hpux + # define HAVE_SIGVEC -- cgit v1.2.3