aboutsummaryrefslogtreecommitdiffstats
path: root/x11/rxvt
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-10-10 11:36:09 +0800
committerlioux <lioux@FreeBSD.org>2005-10-10 11:36:09 +0800
commit238e18b7e24af4af0f51c69c800561903a2986a8 (patch)
treee04fff3fe20d50b63ad3bbb8681d89ffd9178366 /x11/rxvt
parent5cf05f1087bb7f1ae4f4bcfa9386f8a951236247 (diff)
downloadfreebsd-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/rxvt')
-rw-r--r--x11/rxvt/Makefile2
-rw-r--r--x11/rxvt/files/patch-ad26
2 files changed, 24 insertions, 4 deletions
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);