Adjust against latest Git HEAD - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
 (HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) changeset b874fced6f24e35669cbecd2356d6ee9c0539e64
 (DIR) parent 150fc314205bd5253edbd793875757a4828a127a
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Sun, 20 Oct 2019 21:58:54 
       
       Adjust against latest Git HEAD
       
       Diffstat:
        wip/st-term-git/patch-co |  27 ++++++++++++---------------
        1 files changed, 12 insertions(+), 15 deletions(-)
       ---
       diff -r 150fc314205b -r b874fced6f24 wip/st-term-git/patch-co
       --- a/wip/st-term-git/patch-co  Sun Oct 13 18:04:11 2019 +0200
       +++ b/wip/st-term-git/patch-co  Sun Oct 20 21:58:54 2019 +0200
       @@ -1,6 +1,6 @@
        --- /dev/null  2018-03-15 11:44:42.305684300 +0100
        +++ config.h   2018-03-15 11:45:52.641324882 +0100
       -@@ -0,0 +1,462 @@
       +@@ -0,0 +1,459 @@
        +/* See LICENSE file for copyright and license details. */
        +
        +/*
       @@ -154,13 +154,21 @@
        +static unsigned int defaultattr = 11;
        +
        +/*
       ++ * Force mouse select/shortcuts while mask is active (when MODE_MOUSE is set).
       ++ * Note that if you want to use ShiftMask with selmasks, set this to an other
       ++ * modifier, set to 0 to not use it.
       ++ */
       ++static uint forcemousemod = ShiftMask;
       ++
       ++/*
        + * Internal mouse shortcuts.
        + * Beware that overloading Button1 will disable the selection.
        + */
        +static MouseShortcut mshortcuts[] = {
       -+      /* button               mask            string */
       -+      { Button4,              XK_ANY_MOD,     "\031" },
       -+      { Button5,              XK_ANY_MOD,     "\005" },
       ++       /* mask                 button   function        argument       release */
       ++      { XK_ANY_MOD,           Button2, selpaste,       {.i = 0},      1 },
       ++      { XK_ANY_MOD,           Button4, ttysend,        {.s = "\031"}    },
       ++      { XK_ANY_MOD,           Button5, ttysend,        {.s = "\005"}    },
        +};
        +
        +/* Internal keyboard shortcuts. */
       @@ -198,10 +206,6 @@
        + * * 0: no value
        + * * > 0: cursor application mode enabled
        + * * < 0: cursor application mode disabled
       -+ * crlf value
       -+ * * 0: no value
       -+ * * > 0: crlf mode is enabled
       -+ * * < 0: crlf mode is disabled
        + *
        + * Be careful with the order of the definitions because st searches in
        + * this table sequentially, so any XK_ANY_MOD must be in the last
       @@ -221,13 +225,6 @@
        +static uint ignoremod = Mod2Mask|XK_SWITCH_MOD;
        +
        +/*
       -+ * Override mouse-select while mask is active (when MODE_MOUSE is set).
       -+ * Note that if you want to use ShiftMask with selmasks, set this to an other
       -+ * modifier, set to 0 to not use it.
       -+ */
       -+static uint forceselmod = ShiftMask;
       -+
       -+/*
        + * This is the huge key array which defines all compatibility to the Linux
        + * world. Please decide about changes wisely.
        + */