aboutsummaryrefslogtreecommitdiff
path: root/x11/rxvt
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-05-15 14:21:46 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-05-15 14:21:46 +0000
commitb5a69ca04235f6c4e8f9e250aadeaabe555e3a5c (patch)
treed1d4a200a082dc133d198e8b3b22caa8f3fb9e99 /x11/rxvt
parentd6e66654bd57cc5e14e28b7b772f4d2172d4cbef (diff)
downloadports-b5a69ca04235f6c4e8f9e250aadeaabe555e3a5c.tar.gz
ports-b5a69ca04235f6c4e8f9e250aadeaabe555e3a5c.zip
Notes
Diffstat (limited to 'x11/rxvt')
-rw-r--r--x11/rxvt/Makefile1
-rw-r--r--x11/rxvt/files/patch-ad13
2 files changed, 12 insertions, 2 deletions
diff --git a/x11/rxvt/Makefile b/x11/rxvt/Makefile
index b219ca38160d..bace02560487 100644
--- a/x11/rxvt/Makefile
+++ b/x11/rxvt/Makefile
@@ -10,6 +10,7 @@
PORTNAME= rxvt
PORTVERSION= 2.6.4
+PORTREVISION= 1
CATEGORIES+= x11
MASTER_SITES= ftp://ftp.rxvt.org/pub/rxvt/%SUBDIR%/ \
ftp://mason.primenet.com.au/pub/rxvt/%SUBDIR%/ \
diff --git a/x11/rxvt/files/patch-ad b/x11/rxvt/files/patch-ad
index 6f3e7e9a7bcb..c057993b80dc 100644
--- a/x11/rxvt/files/patch-ad
+++ b/x11/rxvt/files/patch-ad
@@ -1,11 +1,20 @@
--- src/command.c.orig Thu Apr 5 03:52:39 2001
+++ src/command.c Fri Jun 22 13:36:57 2001
-@@ -2796,7 +2796,7 @@ rxvt_tt_printf(rxvt_t *r, const char *fm
+@@ -322,7 +322,7 @@
+ ttydev = tty_name;
+
+ # define PTYCHAR1 "pqrstuvwxyz"
+-# define PTYCHAR2 "0123456789abcdef"
++# define PTYCHAR2 "0123456789abcdefghijklmnopqrstuv"
+ for (c1 = PTYCHAR1; *c1; c1++) {
+ ptydev[len] = ttydev[len] = *c1;
+ for (c2 = PTYCHAR2; *c2; c2++) {
+@@ -2376,7 +2376,7 @@
unsigned char buf[256];
va_start(arg_ptr, fmt);
- vsprintf(buf, fmt, arg_ptr);
+ vsnprintf(buf, sizeof(buf), fmt, arg_ptr);
va_end(arg_ptr);
- rxvt_tt_write(r, buf, STRLEN(buf));
+ tt_write(buf, strlen(buf));
}