Use openpty(3) and Bump PORTREVISION, accodingly.
This commit is contained in:
parent
773c0e2277
commit
bc85d896f9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225779
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= kterm
|
||||
PORTVERSION= 6.2.0
|
||||
PORTREVISION= 10
|
||||
PORTREVISION= 11
|
||||
CATEGORIES= japanese x11
|
||||
MASTER_SITES= ${MASTER_SITE_PORTS_JP:S/$/:wp_jp/} \
|
||||
${MASTER_SITE_XCONTRIB} \
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- Imakefile.orig Sun Dec 13 16:59:08 1998
|
||||
+++ Imakefile Sun Dec 13 17:37:16 1998
|
||||
--- Imakefile.orig 2009-01-12 06:30:54.603258900 +0900
|
||||
+++ Imakefile 2009-01-12 06:45:23.991164903 +0900
|
||||
@@ -13,6 +13,17 @@
|
||||
XPOLL_DEF = -DNO_XPOLL_H
|
||||
#endif
|
||||
@ -18,3 +18,12 @@
|
||||
/*
|
||||
* add -DWTMP and -DLASTLOG if you want them.
|
||||
*/
|
||||
@@ -72,7 +83,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
- TERMCAPLIB = TermcapLibrary
|
||||
+ TERMCAPLIB = TermcapLibrary -lutil
|
||||
|
||||
AllTarget($(PROGRAMS))
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- main.c.orig Wed Jun 21 15:49:06 2006
|
||||
+++ main.c Wed Jun 21 15:50:17 2006
|
||||
--- main.c.orig 2009-01-12 06:02:34.419192340 +0900
|
||||
+++ main.c 2009-01-12 06:29:01.427571571 +0900
|
||||
@@ -210,7 +210,9 @@
|
||||
#undef FIOCLEX
|
||||
#undef FIONCLEX
|
||||
@ -19,7 +19,18 @@
|
||||
#include <sgtty.h>
|
||||
#endif
|
||||
#include <sys/resource.h>
|
||||
@@ -1355,6 +1357,8 @@
|
||||
@@ -319,6 +321,10 @@
|
||||
int Ptyfd;
|
||||
#endif /* PUCC_PTYD */
|
||||
|
||||
+#ifdef __FreeBSD__
|
||||
+#include <libutil.h> /* openpty() */
|
||||
+#endif
|
||||
+
|
||||
#ifdef sequent
|
||||
#define USE_GET_PSEUDOTTY
|
||||
#endif
|
||||
@@ -1355,6 +1361,8 @@
|
||||
d_tio.c_cc[VDISCARD] = CFLUSH;
|
||||
d_tio.c_cc[VWERASE] = CWERASE;
|
||||
d_tio.c_cc[VLNEXT] = CLNEXT;
|
||||
@ -28,7 +39,7 @@
|
||||
#endif /* } */
|
||||
#ifdef TIOCSLTC /* { */
|
||||
d_ltc.t_suspc = CSUSP; /* t_suspc */
|
||||
@@ -1403,6 +1407,8 @@
|
||||
@@ -1403,6 +1411,8 @@
|
||||
d_tio.c_cc[VQUIT] = CQUIT; /* '^\' */
|
||||
d_tio.c_cc[VEOF] = CEOF; /* '^D' */
|
||||
d_tio.c_cc[VEOL] = CEOL; /* '^@' */
|
||||
@ -37,3 +48,22 @@
|
||||
#ifdef VSWTCH
|
||||
d_tio.c_cc[VSWTCH] = CSWTCH; /* usually '^Z' */
|
||||
#endif
|
||||
@@ -1963,6 +1973,10 @@
|
||||
get_pty (pty)
|
||||
int *pty;
|
||||
{
|
||||
+#if 1
|
||||
+ int tty;
|
||||
+ return (openpty(pty, &tty, ttydev, NULL, NULL));
|
||||
+#else
|
||||
#ifdef __osf__
|
||||
int tty;
|
||||
return (openpty(pty, &tty, ttydev, NULL, NULL));
|
||||
@@ -2066,6 +2080,7 @@
|
||||
#endif /* __sgi or umips else */
|
||||
#endif /* USE_GET_PSEUDOTTY else */
|
||||
#endif /* ATT else */
|
||||
+#endif /* !0 */
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user