diff options
| author | Mathieu Arnold <mat@FreeBSD.org> | 2015-11-12 18:49:35 +0000 |
|---|---|---|
| committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-11-12 18:49:35 +0000 |
| commit | 398c0a58b4209008334d5297ef91c226835a9bac (patch) | |
| tree | 68ad167334034c00d0f8d972062caf33628204c0 /sysutils/tmux/files | |
| parent | Update to MPICH 3.2 (diff) | |
Update to 2.1
Changes: https://github.com/tmux/tmux/blob/2.1/CHANGES
Sponsored by: Absolight
Diffstat (limited to 'sysutils/tmux/files')
| -rw-r--r-- | sysutils/tmux/files/extra-patch-tty-keys.c | 4 | ||||
| -rw-r--r-- | sysutils/tmux/files/patch-compat_imsg.c | 17 | ||||
| -rw-r--r-- | sysutils/tmux/files/patch-configure | 40 | ||||
| -rw-r--r-- | sysutils/tmux/files/patch-git_2c53b23d | 35 |
4 files changed, 2 insertions, 94 deletions
diff --git a/sysutils/tmux/files/extra-patch-tty-keys.c b/sysutils/tmux/files/extra-patch-tty-keys.c index 4d68636f3dc9..9a62a99916f2 100644 --- a/sysutils/tmux/files/extra-patch-tty-keys.c +++ b/sysutils/tmux/files/extra-patch-tty-keys.c @@ -1,6 +1,6 @@ ---- tty-keys.c.orig 2015-05-05 20:21:51 UTC +--- tty-keys.c.orig 2015-09-27 09:42:08 UTC +++ tty-keys.c -@@ -556,8 +556,6 @@ first_key: +@@ -545,8 +545,6 @@ first_key: * used. termios should have a better idea. */ bspace = tty->tio.c_cc[VERASE]; diff --git a/sysutils/tmux/files/patch-compat_imsg.c b/sysutils/tmux/files/patch-compat_imsg.c deleted file mode 100644 index a0203c44fa4e..000000000000 --- a/sysutils/tmux/files/patch-compat_imsg.c +++ /dev/null @@ -1,17 +0,0 @@ ---- compat/imsg.c.orig 2015-10-14 13:20:40 UTC -+++ compat/imsg.c -@@ -54,8 +54,12 @@ available_fds(unsigned int n) - for (i = 0; i < n; i++) { - fds[i] = -1; - if ((fds[i] = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { -- ret = 1; -- break; -+ if (errno == EAFNOSUPPORT || errno == EPROTONOSUPPORT) -+ fds[i] = socket(AF_INET6, SOCK_DGRAM, 0); -+ if (fds[i] < 0) { -+ ret = 1; -+ break; -+ } - } - } - diff --git a/sysutils/tmux/files/patch-configure b/sysutils/tmux/files/patch-configure deleted file mode 100644 index 1455ad8bf0f5..000000000000 --- a/sysutils/tmux/files/patch-configure +++ /dev/null @@ -1,40 +0,0 @@ ---- configure.orig 2015-05-06 22:49:42 UTC -+++ configure -@@ -5002,7 +5002,7 @@ return setupterm (); - return 0; - } - _ACEOF --for ac_lib in '' terminfo curses ncurses tinfo; do -+for ac_lib in '' terminfo ncurses tinfo; do - if test -z "$ac_lib"; then - ac_res="none required" - else -@@ -5755,6 +5755,28 @@ $as_echo "yes" >&6; } - fi - fi - if test "x$found_strnvis" = xyes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnvis is broken" >&5 -+$as_echo_n "checking if strnvis is broken... " >&6; } -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include <vis.h> -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "strnvis\(char \*, const char \*, size_t, int\)" >/dev/null 2>&1; then : -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+else -+ found_strnvis=no -+fi -+rm -f conftest* -+ -+ if test "x$found_strnvis" = xno; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+ fi -+fi -+if test "x$found_strnvis" = xyes; then - $as_echo "#define HAVE_VIS 1" >>confdefs.h - - fi diff --git a/sysutils/tmux/files/patch-git_2c53b23d b/sysutils/tmux/files/patch-git_2c53b23d deleted file mode 100644 index 7076db980eac..000000000000 --- a/sysutils/tmux/files/patch-git_2c53b23d +++ /dev/null @@ -1,35 +0,0 @@ -commit 2c53b23d5968da2e796ead6ed9f8ff3c33b8bbfb -Author: nicm <nicm> -Date: Tue May 19 08:48:37 2015 +0000 - - In terminfo, sometimes cvvis implies cnorm and sometimes it doesn't, so - don't assume it does. Fixes missing cursor with emacs-in-tmux-in-tmux. - ---- tty.c -+++ tty.c -@@ -507,14 +507,17 @@ tty_update_mode(struct tty *tty, int mode, struct screen *s) - mode &= ~MODE_CURSOR; - - changed = mode ^ tty->mode; -- if (changed & (MODE_CURSOR|MODE_BLINKING)) { -- if (mode & MODE_CURSOR) { -- if (mode & MODE_BLINKING && -- tty_term_has(tty->term, TTYC_CVVIS)) -- tty_putcode(tty, TTYC_CVVIS); -- else -- tty_putcode(tty, TTYC_CNORM); -- } else -+ if (changed & MODE_BLINKING) { -+ if (tty_term_has(tty->term, TTYC_CVVIS)) -+ tty_putcode(tty, TTYC_CVVIS); -+ else -+ tty_putcode(tty, TTYC_CNORM); -+ changed |= MODE_CURSOR; -+ } -+ if (changed & MODE_CURSOR) { -+ if (mode & MODE_CURSOR) -+ tty_putcode(tty, TTYC_CNORM); -+ else - tty_putcode(tty, TTYC_CIVIS); - } - if (s != NULL && tty->cstyle != s->cstyle) { |
