summaryrefslogtreecommitdiff
path: root/editors/vigor/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-03-02 19:52:01 +0000
committerwiz <wiz@pkgsrc.org>2006-03-02 19:52:01 +0000
commit2cae0b16a2845f6fb5141522540192edcc3d5834 (patch)
tree9f017991f57cc3ffc11009b973b5a84c3b02b81f /editors/vigor/patches
parent60de83c1766ac7de0526fe680a1fb5404572e3cf (diff)
downloadpkgsrc-2cae0b16a2845f6fb5141522540192edcc3d5834.tar.gz
Fix build on NetBSD>=3.0.
Diffstat (limited to 'editors/vigor/patches')
-rw-r--r--editors/vigor/patches/patch-ad22
1 files changed, 22 insertions, 0 deletions
diff --git a/editors/vigor/patches/patch-ad b/editors/vigor/patches/patch-ad
new file mode 100644
index 00000000000..9360765bc4d
--- /dev/null
+++ b/editors/vigor/patches/patch-ad
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1 2006/03/02 19:52:01 wiz Exp $
+
+--- ex/ex_script.c.orig 2000-05-03 02:28:05.000000000 +0000
++++ ex/ex_script.c
+@@ -23,7 +23,7 @@ static const char sccsid[] = "@(#)ex_scr
+ #include <sys/select.h>
+ #endif
+ #include <sys/stat.h>
+-#ifdef HAVE_SYS5_PTY
++#if defined(HAVE_SYS5_PTY) && !defined(__NetBSD__)
+ #include <sys/stropts.h>
+ #endif
+ #include <sys/time.h>
+@@ -625,7 +625,7 @@ sscr_check(sp)
+ F_CLR(gp, G_SCRWIN);
+ }
+
+-#ifdef HAVE_SYS5_PTY
++#if defined(HAVE_SYS5_PTY) && !defined(__NetBSD__)
+ static int ptys_open __P((int, char *));
+ static int ptym_open __P((char *));
+