summaryrefslogtreecommitdiffstats
path: root/x11/rxvt-devel
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-10-10 03:36:09 +0000
committerlioux <lioux@FreeBSD.org>2005-10-10 03:36:09 +0000
commit238e18b7e24af4af0f51c69c800561903a2986a8 (patch)
treee04fff3fe20d50b63ad3bbb8681d89ffd9178366 /x11/rxvt-devel
parent5cf05f1087bb7f1ae4f4bcfa9386f8a951236247 (diff)
downloadFreeBSD-ports-238e18b7e24af4af0f51c69c800561903a2986a8.zip
FreeBSD-ports-238e18b7e24af4af0f51c69c800561903a2986a8.tar.gz
Add ERASE2 support
PR: 84647 Submitted by: Marcin Cieslak <saper@system.pl>
Diffstat (limited to 'x11/rxvt-devel')
-rw-r--r--x11/rxvt-devel/Makefile1
-rw-r--r--x11/rxvt-devel/files/patch-src::init.c22
2 files changed, 23 insertions, 0 deletions
diff --git a/x11/rxvt-devel/Makefile b/x11/rxvt-devel/Makefile
index 417b119..7a0f22e 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 0000000..262158b
--- /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");
OpenPOWER on IntegriCloud