diff options
author | lioux <lioux@FreeBSD.org> | 2005-10-10 11:36:09 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2005-10-10 11:36:09 +0800 |
commit | 238e18b7e24af4af0f51c69c800561903a2986a8 (patch) | |
tree | e04fff3fe20d50b63ad3bbb8681d89ffd9178366 /x11 | |
parent | 5cf05f1087bb7f1ae4f4bcfa9386f8a951236247 (diff) | |
download | freebsd-ports-gnome-238e18b7e24af4af0f51c69c800561903a2986a8.tar.gz freebsd-ports-gnome-238e18b7e24af4af0f51c69c800561903a2986a8.tar.zst freebsd-ports-gnome-238e18b7e24af4af0f51c69c800561903a2986a8.zip |
Add ERASE2 support
PR: 84647
Submitted by: Marcin Cieslak <saper@system.pl>
Diffstat (limited to 'x11')
-rw-r--r-- | x11/rxvt-devel/Makefile | 1 | ||||
-rw-r--r-- | x11/rxvt-devel/files/patch-src::init.c | 22 | ||||
-rw-r--r-- | x11/rxvt/Makefile | 2 | ||||
-rw-r--r-- | x11/rxvt/files/patch-ad | 26 |
4 files changed, 47 insertions, 4 deletions
diff --git a/x11/rxvt-devel/Makefile b/x11/rxvt-devel/Makefile index 417b11902f51..7a0f22e7aecf 100644 --- a/x11/rxvt-devel/Makefile +++ b/x11/rxvt-devel/Makefile @@ -10,6 +10,7 @@ PORTNAME= rxvt PORTVERSION= 2.7.10 +PORTREVISION= 1 CATEGORIES+= x11 MASTER_SITES= ftp://ftp.rxvt.org/pub/rxvt/%SUBDIR%/ \ ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/rxvt/%SUBDIR%/ \ diff --git a/x11/rxvt-devel/files/patch-src::init.c b/x11/rxvt-devel/files/patch-src::init.c new file mode 100644 index 000000000000..262158bd0e6b --- /dev/null +++ b/x11/rxvt-devel/files/patch-src::init.c @@ -0,0 +1,22 @@ +--- src/init.c.orig Wed Dec 4 03:21:17 2002 ++++ src/init.c Mon Oct 10 00:30:31 2005 +@@ -1531,6 +1531,9 @@ + # ifdef VEOL2 + tio->c_cc[VEOL2] = VDISABLE; + # endif ++# ifdef VERASE2 ++ tio->c_cc[VERASE2] = CERASE2; ++# endif + # ifdef VSWTC + tio->c_cc[VSWTC] = VDISABLE; + # endif +@@ -1650,6 +1653,9 @@ + FOO(VEOL, "VEOL"); + # ifdef VEOL2 + FOO(VEOL2, "VEOL2"); ++# endif ++# ifdef VERASE2 ++ FOO(VERASE2, "VERASE2"); + # endif + # ifdef VSWTC + FOO(VSWTC, "VSWTC"); diff --git a/x11/rxvt/Makefile b/x11/rxvt/Makefile index a38af9801cdf..76b5e2889b05 100644 --- a/x11/rxvt/Makefile +++ b/x11/rxvt/Makefile @@ -10,7 +10,7 @@ PORTNAME= rxvt PORTVERSION= 2.6.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES+= x11 MASTER_SITES= ftp://ftp.rxvt.org/pub/rxvt/%SUBDIR%/ \ ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/rxvt/%SUBDIR%/ \ diff --git a/x11/rxvt/files/patch-ad b/x11/rxvt/files/patch-ad index c057993b80dc..eb7db3a2dc0b 100644 --- a/x11/rxvt/files/patch-ad +++ b/x11/rxvt/files/patch-ad @@ -1,5 +1,5 @@ ---- src/command.c.orig Thu Apr 5 03:52:39 2001 -+++ src/command.c Fri Jun 22 13:36:57 2001 +--- src/command.c.orig Thu Nov 1 22:18:35 2001 ++++ src/command.c Mon Oct 10 00:29:07 2005 @@ -322,7 +322,7 @@ ttydev = tty_name; @@ -9,7 +9,27 @@ for (c1 = PTYCHAR1; *c1; c1++) { ptydev[len] = ttydev[len] = *c1; for (c2 = PTYCHAR2; *c2; c2++) { -@@ -2376,7 +2376,7 @@ +@@ -519,6 +519,9 @@ + # ifdef VEOL2 + FOO(VEOL2, "VEOL2"); + # endif ++# ifdef VERASE2 ++ FOO(VERASE2, "VERASE2"); ++# endif + # ifdef VSWTC + FOO(VSWTC, "VSWTC"); + # endif +@@ -596,6 +599,9 @@ + # ifdef VSWTCH + tio->c_cc[VSWTCH] = VDISABLE; + # endif ++# ifdef VERASE2 ++ tio->c_cc[VERASE2] = CERASE2; ++# endif + # if VMIN != VEOF + tio->c_cc[VMIN] = 1; + # endif +@@ -2376,7 +2382,7 @@ unsigned char buf[256]; va_start(arg_ptr, fmt); |