summaryrefslogtreecommitdiff
path: root/editors/vigor/patches
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vigor/patches')
-rw-r--r--editors/vigor/patches/patch-ac21
-rw-r--r--editors/vigor/patches/patch-ad8
-rw-r--r--editors/vigor/patches/patch-ae14
3 files changed, 37 insertions, 6 deletions
diff --git a/editors/vigor/patches/patch-ac b/editors/vigor/patches/patch-ac
index b3a28ae9a1a..4f27d7d7ccc 100644
--- a/editors/vigor/patches/patch-ac
+++ b/editors/vigor/patches/patch-ac
@@ -1,6 +1,6 @@
-$NetBSD: patch-ac,v 1.2 2005/11/03 21:24:29 rillig Exp $
+$NetBSD: patch-ac,v 1.3 2006/03/21 18:48:45 minskim Exp $
---- build/configure.in.orig 2000-05-02 21:27:52.000000000 -0500
+--- build/configure.in.orig 2000-05-02 19:27:52.000000000 -0700
+++ build/configure.in
@@ -243,7 +243,8 @@ dnl Make sure we can find a Tcl/Tk inter
LIBOBJS="tcl.o $LIBOBJS"
@@ -12,3 +12,20 @@ $NetBSD: patch-ac,v 1.2 2005/11/03 21:24:29 rillig Exp $
AC_SEARCH_LIBS(Tcl_Init,tcl tcl82 tcl8.2 tcl80 tcl8.0,,dnl
AC_MSG_ERROR([Tcl is required for Vigor but could not be located.]))
AC_SEARCH_LIBS(Tk_Init,tk tk82 tk8.2 tk80 tk8.0,,dnl
+@@ -299,6 +300,16 @@ if test "$vi_cv_include_sys_select" = ye
+ fi
+ AC_MSG_RESULT($vi_cv_include_sys_select)
+
++dnl Checks for header files.
++AC_MSG_CHECKING(for sys/stropts.h)
++AC_CACHE_VAL(vi_cv_include_sys_stropts, [dnl
++AC_TRY_CPP([#include <sys/stropts.h>],
++ [vi_cv_include_sys_stropts=yes], [vi_cv_include_sys_stropts=no])])
++if test "$vi_cv_include_sys_stropts" = yes; then
++ AC_DEFINE(HAVE_SYS_STROPTS_H)
++fi
++AC_MSG_RESULT($vi_cv_include_sys_stropts)
++
+ dnl Checks for typedefs, structures, and compiler characteristics.
+ AC_CHECK_TYPE(ssize_t, int)
+ AC_C_BIGENDIAN
diff --git a/editors/vigor/patches/patch-ad b/editors/vigor/patches/patch-ad
index 9360765bc4d..ab474cfcc3c 100644
--- a/editors/vigor/patches/patch-ad
+++ b/editors/vigor/patches/patch-ad
@@ -1,13 +1,13 @@
-$NetBSD: patch-ad,v 1.1 2006/03/02 19:52:01 wiz Exp $
+$NetBSD: patch-ad,v 1.2 2006/03/21 18:48:45 minskim Exp $
---- ex/ex_script.c.orig 2000-05-03 02:28:05.000000000 +0000
+--- ex/ex_script.c.orig 2000-05-02 19:28:05.000000000 -0700
+++ 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__)
++#if defined(HAVE_SYS5_PTY) && defined(HAVE_SYS_STROPTS_H)
#include <sys/stropts.h>
#endif
#include <sys/time.h>
@@ -16,7 +16,7 @@ $NetBSD: patch-ad,v 1.1 2006/03/02 19:52:01 wiz Exp $
}
-#ifdef HAVE_SYS5_PTY
-+#if defined(HAVE_SYS5_PTY) && !defined(__NetBSD__)
++#if defined(HAVE_SYS5_PTY) && defined(HAVE_SYS_STROPTS_H)
static int ptys_open __P((int, char *));
static int ptym_open __P((char *));
diff --git a/editors/vigor/patches/patch-ae b/editors/vigor/patches/patch-ae
new file mode 100644
index 00000000000..ff264d51747
--- /dev/null
+++ b/editors/vigor/patches/patch-ae
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.1 2006/03/21 18:48:45 minskim Exp $
+
+--- build/config.h.in.orig 2000-05-02 19:27:54.000000000 -0700
++++ build/config.h.in
+@@ -103,6 +103,9 @@
+ /* Define if you have <sys/select.h> */
+ #undef HAVE_SYS_SELECT_H
+
++/* Define if you have <sys/stropts.h> */
++#undef HAVE_SYS_STROPTS_H
++
+ /* Define if you have the System V style pty calls. */
+ #undef HAVE_SYS5_PTY
+