summaryrefslogtreecommitdiff
path: root/editors/nvi
diff options
context:
space:
mode:
authorrtr <rtr@pkgsrc.org>2006-01-06 14:47:56 +0000
committerrtr <rtr@pkgsrc.org>2006-01-06 14:47:56 +0000
commit87897c790e199daa143a41e0b983d41121679eda (patch)
tree1493b5e4c26c6b8fc5417b6ff6eb3fc9966058fb /editors/nvi
parentf19324ea985ec59d15cc3ef3f41d17c5691c4725 (diff)
downloadpkgsrc-87897c790e199daa143a41e0b983d41121679eda.tar.gz
include ctype.h earlier to avoid isblank macro running over c99 isblank()
* fixes build on Solaris10
Diffstat (limited to 'editors/nvi')
-rw-r--r--editors/nvi/distinfo3
-rw-r--r--editors/nvi/patches/patch-ae14
2 files changed, 16 insertions, 1 deletions
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 <sys/queue.h>
+ #include <bitstring.h>
+ /*
++ * include ctype very early to avoid real functions being run over by
++ * macros.
++ */
++#include <ctype.h>
++/*
+ * Porting information built at configuration time. Included before
+ * any of nvi's include files.
+ */