diff options
author | rtr <rtr> | 2006-01-06 14:47:56 +0000 |
---|---|---|
committer | rtr <rtr> | 2006-01-06 14:47:56 +0000 |
commit | 552f787848e8de3e04848ec7c68121dcc5537f81 (patch) | |
tree | 1493b5e4c26c6b8fc5417b6ff6eb3fc9966058fb /editors/nvi/patches | |
parent | 7bdd762b73968a8dfde39c13fb4b817a2f199a5c (diff) | |
download | pkgsrc-552f787848e8de3e04848ec7c68121dcc5537f81.tar.gz |
include ctype.h earlier to avoid isblank macro running over c99 isblank()
* fixes build on Solaris10
Diffstat (limited to 'editors/nvi/patches')
-rw-r--r-- | editors/nvi/patches/patch-ae | 14 |
1 files changed, 14 insertions, 0 deletions
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. + */ |