Remove (wip/tmux now lives as misc/tmux) - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
 (HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) changeset da565b1fed83e34578af40175208082fea1dc987
 (DIR) parent 3f03c457ec5572dbb693064bddd1f8ac8664f33f
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Mon, 22 Oct 2018 00:18:24 
       
       Remove (wip/tmux now lives as misc/tmux)
       
       Diffstat:
        wip/tmux/patch-osdep-netbsd.c      |  43 --------------------------------------
        wip/tmux/patch-window-copy.c.patch |  14 ------------
        2 files changed, 0 insertions(+), 57 deletions(-)
       ---
       diff -r 3f03c457ec55 -r da565b1fed83 wip/tmux/patch-osdep-netbsd.c
       --- a/wip/tmux/patch-osdep-netbsd.c     Sun Oct 21 18:25:00 2018 +0200
       +++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
       @@ -1,43 +0,0 @@
       -$NetBSD$
       -
       -Implement osdep_get_cwd() via mount_procfs(8) (inspired by osdep-sunos.c).
       -
       ---- osdep-netbsd.c.orig        2016-01-21 00:00:28.000000000 +0000
       -+++ osdep-netbsd.c
       -@@ -23,10 +23,13 @@
       - 
       - #include <errno.h>
       - #include <event.h>
       -+#include <limits.h>
       - #include <stdlib.h>
       - #include <string.h>
       - #include <unistd.h>
       - 
       -+#include "tmux.h"
       -+
       - #define is_runnable(p) \
       -         ((p)->p_stat == LSRUN || (p)->p_stat == SIDL)
       - #define is_stopped(p) \
       -@@ -127,6 +130,22 @@ error:
       - char *
       - osdep_get_cwd(int fd)
       - {
       -+      static char     target[PATH_MAX + 1];
       -+      char            *path;
       -+      pid_t           pgrp;
       -+      ssize_t         n;
       -+
       -+      if ((pgrp = tcgetpgrp(fd)) == -1)
       -+              return (NULL);
       -+
       -+      xasprintf(&path, "/proc/%u/cwd", (u_int) pgrp);
       -+      n = readlink(path, target, sizeof(target) - 1);
       -+      free(path);
       -+      if (n > 0) {
       -+              target[n] = '\0';
       -+              return (target);
       -+      }
       -+
       -       return (NULL);
       - }
       - 
       diff -r 3f03c457ec55 -r da565b1fed83 wip/tmux/patch-window-copy.c.patch
       --- a/wip/tmux/patch-window-copy.c.patch        Sun Oct 21 18:25:00 2018 +0200
       +++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
       @@ -1,14 +0,0 @@
       -$NetBSD$
       -
       -Do not show the `$' at the end of the lines (like it was in tmux<2.3).
       -
       ---- window-copy.c.orig 2016-09-25 21:24:32.000000000 +0000
       -+++ window-copy.c
       -@@ -1306,7 +1306,6 @@ window_copy_write_line(struct window_pan
       -       if (py == data->cy && data->cx == screen_size_x(s)) {
       -               memcpy(&gc, &grid_default_cell, sizeof gc);
       -               screen_write_cursormove(ctx, screen_size_x(s) - 1, py);
       --              screen_write_putc(ctx, &gc, '$');
       -       }
       - }
       -