pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/nvi include ctype.h earlier to avoid isblank m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d494f4ee0701
branches:  trunk
changeset: 505699:d494f4ee0701
user:      rtr <rtr%pkgsrc.org@localhost>
date:      Fri Jan 06 14:47:56 2006 +0000

description:
include ctype.h earlier to avoid isblank macro running over c99 isblank()
* fixes build on Solaris10

diffstat:

 editors/nvi/distinfo         |   3 ++-
 editors/nvi/patches/patch-ae |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 096590cfb627 -r d494f4ee0701 editors/nvi/distinfo
--- a/editors/nvi/distinfo      Fri Jan 06 14:45:24 2006 +0000
+++ b/editors/nvi/distinfo      Fri Jan 06 14:47:56 2006 +0000
@@ -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-ab) = d5cb1cccb2799bb21822dcd0e11d7208c60f40b6
 SHA1 (patch-ac) = 239764397e64323edfba6fcf4ae99846cebbdbe1
 SHA1 (patch-ad) = 3cdd8ea5ad6c9c4e6a2d1f77d0b28f80fae44fd0
+SHA1 (patch-ae) = afa53453089e92b5340e0b90685deee6d17b739d
diff -r 096590cfb627 -r d494f4ee0701 editors/nvi/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/nvi/patches/patch-ae      Fri Jan 06 14:47:56 2006 +0000
@@ -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.
+  */



Home | Main Index | Thread Index | Old Index