diff options
author | Ed Schouten <ed@FreeBSD.org> | 2009-03-06 20:13:40 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2009-03-06 20:13:40 +0000 |
commit | 107ecb90a61a11b93b4c778dab097bb65c500165 (patch) | |
tree | 11e6b6e129f74609a32db56023af6b7fdd4a6a54 /x11/rxvt-devel | |
parent | 12f0981a82f5fdce256a04b2dc660f78ba6fd5a9 (diff) | |
download | ports-107ecb90a61a11b93b4c778dab097bb65c500165.tar.gz ports-107ecb90a61a11b93b4c778dab097bb65c500165.zip |
Notes
Diffstat (limited to 'x11/rxvt-devel')
-rw-r--r-- | x11/rxvt-devel/Makefile | 2 | ||||
-rw-r--r-- | x11/rxvt-devel/files/patch-src::logging.c | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/x11/rxvt-devel/Makefile b/x11/rxvt-devel/Makefile index 8e34d7fb40e5..bbf9baf253ce 100644 --- a/x11/rxvt-devel/Makefile +++ b/x11/rxvt-devel/Makefile @@ -9,7 +9,7 @@ PORTNAME= rxvt PORTVERSION= 2.7.10 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES+= x11 MASTER_SITES= SF PKGNAMESUFFIX= -devel diff --git a/x11/rxvt-devel/files/patch-src::logging.c b/x11/rxvt-devel/files/patch-src::logging.c new file mode 100644 index 000000000000..20f9e436a24a --- /dev/null +++ b/x11/rxvt-devel/files/patch-src::logging.c @@ -0,0 +1,12 @@ +--- src/logging.c ++++ src/logging.c +@@ -82,7 +82,8 @@ + else if (sscanf(pty, "pts/%d", &i) == 1) + sprintf(ut_id, "vt%02x", (i & 0xff)); /* sysv naming */ + #endif +- else if (STRNCMP(pty, "pty", 3) && STRNCMP(pty, "tty", 3)) { ++ else if (STRNCMP(pty, "pty", 3) && STRNCMP(pty, "tty", 3) && ++ STRNCMP(pty, "pts/", 4)) { + rxvt_print_error("can't parse tty name \"%s\"", pty); + return; + } |