aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2004-06-29 14:03:57 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2004-06-29 14:03:57 +0000
commit0ef4a3e5ea05b9a8246b440dbd2ac507bfdfe94b (patch)
treefe2391d0ee02ff6027c04b5cd64a06dab40c38e3
parent529c3852389687c02170b1342cd46d572ad70083 (diff)
downloadports-0ef4a3e5ea05b9a8246b440dbd2ac507bfdfe94b.tar.gz
ports-0ef4a3e5ea05b9a8246b440dbd2ac507bfdfe94b.zip
Notes
-rw-r--r--japanese/jvim3/Makefile1
-rw-r--r--japanese/jvim3/files/patch-src::unix.c30
2 files changed, 31 insertions, 0 deletions
diff --git a/japanese/jvim3/Makefile b/japanese/jvim3/Makefile
index 332c7a2dee73..57772a1f1c69 100644
--- a/japanese/jvim3/Makefile
+++ b/japanese/jvim3/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jvim
PORTVERSION= 3.0.j2.1a
+PORTREVISION= 1
PKGNAMESUFFIX= ${INPUT_METHOD}
CATEGORIES= japanese editors
MASTER_SITES= ftp://ftp.vim.org/pub/vim/unix/ \
diff --git a/japanese/jvim3/files/patch-src::unix.c b/japanese/jvim3/files/patch-src::unix.c
new file mode 100644
index 000000000000..5a7f0e9efaa5
--- /dev/null
+++ b/japanese/jvim3/files/patch-src::unix.c
@@ -0,0 +1,30 @@
+--- src/unix.c.orig Sun Jun 27 12:56:25 2004
++++ src/unix.c Sun Jun 27 12:58:11 2004
+@@ -17,6 +17,7 @@
+ #include "param.h"
+ #include "proto.h"
+
++#include <sys/param.h>
+ #include <fcntl.h>
+ #if !defined(pyr) && !defined(NOT_BOTH_TIME)
+ # include <time.h> /* on some systems time.h should not be
+@@ -73,6 +74,10 @@
+ # if defined(hpux) && !defined(SIGWINCH) /* hpux 9.01 has it */
+ # define SIGWINCH SIGWINDOW
+ # endif
++# elif defined(BSD4_4)
++# include <termios.h>
++# define TCGETA TIOCGETA
++# define TCSETA TIOCSETA
+ # else
+ # include <sgtty.h>
+ # endif /* hpux */
+@@ -828,7 +833,7 @@
+ {
+ #if defined(ECHOE) && defined(ICANON) && !defined(__NeXT__)
+ /* for "new" tty systems */
+-# ifdef CONVEX
++#if defined(CONVEX) || defined(BSD4_4)
+ static struct termios told;
+ struct termios tnew;
+ # else