Ticket #52224: tmux.patch

File tmux.patch, 1.1 KB (added by lbschenkel (Leonardo Brondani Schenkel), 8 years ago)

new Portfile revision and patch for kqueue/poll

  • sysutils/tmux/Portfile

    diff --git a/sysutils/tmux/Portfile b/sysutils/tmux/Portfile
    a b  
    66
    77github.setup    tmux tmux 2.2
    88if {${subport} eq ${name}} {
    9     revision        0
     9    revision        1
    1010    conflicts       tmux-devel
    1111}
    1212subport tmux-devel {
     
    3333    github.tarball_from     releases
    3434    checksums               rmd160  5d636bb7a4c5d80e2dba4179ddd65bc49f471e37 \
    3535                            sha256  bc28541b64f99929fe8e3ae7a02291263f3c97730781201824c0f05d7c8e19e4
     36    patchfiles              patch-osdep-event-init.diff
    3637}
    3738subport tmux-devel {
    3839    checksums               rmd160  941bb491c7e40ab1ff44306fbb1144bdde30de9b \
  • new file sysutils/tmux/files/patch-osdep-event-init.diff

    diff --git a/sysutils/tmux/files/patch-osdep-event-init.diff b/sysutils/tmux/files/patch-osdep-event-init.diff
    new file mode 100644
    - +  
     1--- tmux.c
     2+++ tmux.c
     3@@ -338,5 +338,5 @@
     4        free(label);
     5 
     6        /* Pass control to the client. */
     7-       exit(client_main(event_init(), argc, argv, flags, shellcmd));
     8+       exit(client_main(osdep_event_init(), argc, argv, flags, shellcmd));
     9 }