summaryrefslogtreecommitdiff
path: root/x11/mrxvt
diff options
context:
space:
mode:
authortnn <tnn>2011-01-17 21:28:09 +0000
committertnn <tnn>2011-01-17 21:28:09 +0000
commita152238c42ad73c37ce27070da08aced53e91298 (patch)
treeee0f33a2a3507fa2b8dafaab3cfaadc31e6827bb /x11/mrxvt
parent7185b3c5ff8c087ed23d65cce5541cce6eeca485 (diff)
downloadpkgsrc-a152238c42ad73c37ce27070da08aced53e91298.tar.gz
Don't error out (skipping utmp logging) when using Unix98 ptys.
Bump PKGREVISION.
Diffstat (limited to 'x11/mrxvt')
-rw-r--r--x11/mrxvt/Makefile4
-rw-r--r--x11/mrxvt/distinfo3
-rw-r--r--x11/mrxvt/patches/patch-aa13
3 files changed, 17 insertions, 3 deletions
diff --git a/x11/mrxvt/Makefile b/x11/mrxvt/Makefile
index 5b6a0a93727..695f3547e27 100644
--- a/x11/mrxvt/Makefile
+++ b/x11/mrxvt/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.23 2011/01/13 13:40:01 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2011/01/17 21:28:09 tnn Exp $
#
DISTNAME= mrxvt-0.5.4
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=materm/}
PATCH_SITES= ${MASTER_SITES}
diff --git a/x11/mrxvt/distinfo b/x11/mrxvt/distinfo
index 898290f4522..203d5565667 100644
--- a/x11/mrxvt/distinfo
+++ b/x11/mrxvt/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2009/07/15 20:53:21 tnn Exp $
+$NetBSD: distinfo,v 1.8 2011/01/17 21:28:09 tnn Exp $
SHA1 (mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch) = 62b1d128f71e463dd38239efa4d5bc0daa77e9cf
RMD160 (mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch) = 039929a83065055abfe29e239d7760390bb54a6b
@@ -6,3 +6,4 @@ Size (mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch) = 380 bytes
SHA1 (mrxvt-0.5.4.tar.gz) = f50e9ad2f652d4212b0ac5241b919372d9e43744
RMD160 (mrxvt-0.5.4.tar.gz) = 175ce5c554c267ada4efde18e22704ff1b688dac
Size (mrxvt-0.5.4.tar.gz) = 603978 bytes
+SHA1 (patch-aa) = 809be5640f60ccc8238c2b851056fd520426f6b1
diff --git a/x11/mrxvt/patches/patch-aa b/x11/mrxvt/patches/patch-aa
new file mode 100644
index 00000000000..5fba04cccdf
--- /dev/null
+++ b/x11/mrxvt/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.4 2011/01/17 21:28:09 tnn Exp $
+
+--- src/logging.c.orig 2008-02-17 22:04:50.000000000 +0000
++++ src/logging.c
+@@ -105,7 +105,7 @@ rxvt_makeutent(rxvt_t *r, int page, cons
+ 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", 3)) {
+ rxvt_msg (DBG_ERROR, DBG_LOGGING, "can't parse tty name \"%s\"", pty);
+ return;
+ }