aboutsummaryrefslogtreecommitdiff
path: root/sysutils/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/tmux')
-rw-r--r--sysutils/tmux/Makefile2
-rw-r--r--sysutils/tmux/distinfo6
-rw-r--r--sysutils/tmux/files/patch-tty.c14
3 files changed, 18 insertions, 4 deletions
diff --git a/sysutils/tmux/Makefile b/sysutils/tmux/Makefile
index 9ec00e46078d..b65df225c173 100644
--- a/sysutils/tmux/Makefile
+++ b/sysutils/tmux/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tmux
-PORTVERSION= 0.3
+DISTVERSION= 0.4a
CATEGORIES= misc
MASTER_SITES= SF
diff --git a/sysutils/tmux/distinfo b/sysutils/tmux/distinfo
index 418bf3d432b7..ec5a414f0e8c 100644
--- a/sysutils/tmux/distinfo
+++ b/sysutils/tmux/distinfo
@@ -1,3 +1,3 @@
-MD5 (tmux-0.3.tar.gz) = a3ea00b76629180fbb50e77dda8e3bea
-SHA256 (tmux-0.3.tar.gz) = a8e81e869e733a8fe7cb53ecdf232c794df08c9b19b4b3055f415ba5e354ac25
-SIZE (tmux-0.3.tar.gz) = 87339
+MD5 (tmux-0.4a.tar.gz) = 4afd9540f6b89df9a443cffb8345bf5a
+SHA256 (tmux-0.4a.tar.gz) = 2aebe1161a7ac6563e5b2dda502da49d52c9e4059ba5cea1b21c6fc703d8bc78
+SIZE (tmux-0.4a.tar.gz) = 100685
diff --git a/sysutils/tmux/files/patch-tty.c b/sysutils/tmux/files/patch-tty.c
new file mode 100644
index 000000000000..d153dd8f73a2
--- /dev/null
+++ b/sysutils/tmux/files/patch-tty.c
@@ -0,0 +1,14 @@
+--- tty.c.orig 2008-07-03 07:48:22.000000000 +0800
++++ tty.c 2008-07-03 07:48:46.000000000 +0800
+@@ -85,9 +85,9 @@
+ if (tcgetattr(tty->fd, &tty->tio) != 0)
+ fatal("tcgetattr failed");
+ memcpy(&tio, &tty->tio, sizeof tio);
+- tio.c_iflag &= ~(IXON|IXOFF|ICRNL|INLCR|IGNCR|IMAXBEL|IUCLC|ISTRIP);
++ tio.c_iflag &= ~(IXON|IXOFF|ICRNL|INLCR|IGNCR|IMAXBEL|ISTRIP);
+ tio.c_iflag |= IGNBRK;
+- tio.c_oflag &= ~(OPOST|ONLCR|OCRNL|ONLRET|OLCUC);
++ tio.c_oflag &= ~(OPOST|ONLCR|OCRNL|ONLRET);
+ tio.c_lflag &= ~(IEXTEN|ICANON|ECHO|ECHOE|ECHONL|ECHOCTL|ECHOPRT|ECHOKE|ECHOCTL|ISIG);
+ tio.c_cc[VMIN] = 1;
+ tio.c_cc[VTIME] = 0;