From 552f787848e8de3e04848ec7c68121dcc5537f81 Mon Sep 17 00:00:00 2001 From: rtr Date: Fri, 6 Jan 2006 14:47:56 +0000 Subject: include ctype.h earlier to avoid isblank macro running over c99 isblank() * fixes build on Solaris10 --- editors/nvi/distinfo | 3 ++- editors/nvi/patches/patch-ae | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 editors/nvi/patches/patch-ae (limited to 'editors/nvi') diff --git a/editors/nvi/distinfo b/editors/nvi/distinfo index 3a080b24a85..bc814ebb88f 100644 --- a/editors/nvi/distinfo +++ b/editors/nvi/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 17:15:12 agc Exp $ +$NetBSD: distinfo,v 1.4 2006/01/06 14:47:56 rtr Exp $ SHA1 (nvi-1.81.5.tar.bz2) = 63a5837cf9e726c10a9927323b451390e267765e RMD160 (nvi-1.81.5.tar.bz2) = a3c37e0e2bb87353547af37d6f736d1dd1d3c6ad @@ -7,3 +7,4 @@ SHA1 (patch-aa) = 4dcab66a7326e2f25d50bf188d941c7961a5955d SHA1 (patch-ab) = d5cb1cccb2799bb21822dcd0e11d7208c60f40b6 SHA1 (patch-ac) = 239764397e64323edfba6fcf4ae99846cebbdbe1 SHA1 (patch-ad) = 3cdd8ea5ad6c9c4e6a2d1f77d0b28f80fae44fd0 +SHA1 (patch-ae) = afa53453089e92b5340e0b90685deee6d17b739d diff --git a/editors/nvi/patches/patch-ae b/editors/nvi/patches/patch-ae new file mode 100644 index 00000000000..48e4705eab4 --- /dev/null +++ b/editors/nvi/patches/patch-ae @@ -0,0 +1,14 @@ +--- common/common.h.orig Tue Apr 24 08:46:55 2001 ++++ common/common.h Sat Jan 7 01:36:53 2006 +@@ -16,6 +16,11 @@ + #include + #include + /* ++ * include ctype very early to avoid real functions being run over by ++ * macros. ++ */ ++#include ++/* + * Porting information built at configuration time. Included before + * any of nvi's include files. + */ -- cgit v1.2.3