diff options
author | lioux <lioux@FreeBSD.org> | 2002-05-15 22:21:46 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-05-15 22:21:46 +0800 |
commit | 7131ff73508ea5ead65173d5644b47c9034e5350 (patch) | |
tree | c01bf5bd6c0922b3c74edc3a8d593b88afeee9b2 /x11/rxvt-unicode | |
parent | 7f6adb9f31e5917c45677861936e689757dc894b (diff) | |
download | freebsd-ports-gnome-7131ff73508ea5ead65173d5644b47c9034e5350.tar.gz freebsd-ports-gnome-7131ff73508ea5ead65173d5644b47c9034e5350.tar.zst freebsd-ports-gnome-7131ff73508ea5ead65173d5644b47c9034e5350.zip |
o Teach rxvt about FreeBSD's pty: it goes all the way to letter v
o Bump PORTREVISION
Submitted by: Ingo Rohlfs <ingo.rohlfs@gmx.de>
Diffstat (limited to 'x11/rxvt-unicode')
-rw-r--r-- | x11/rxvt-unicode/Makefile | 1 | ||||
-rw-r--r-- | x11/rxvt-unicode/files/patch-ad | 13 |
2 files changed, 12 insertions, 2 deletions
diff --git a/x11/rxvt-unicode/Makefile b/x11/rxvt-unicode/Makefile index b219ca38160d..bace02560487 100644 --- a/x11/rxvt-unicode/Makefile +++ b/x11/rxvt-unicode/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-unicode/files/patch-ad b/x11/rxvt-unicode/files/patch-ad index 6f3e7e9a7bcb..c057993b80dc 100644 --- a/x11/rxvt-unicode/files/patch-ad +++ b/x11/rxvt-unicode/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)); } |