Date: Wed, 01 Dec 2010 21:37:08 -0600 From: Mark Felder <feld@feld.me> To: FreeBSD-gnats-submit@FreeBSD.org Cc: wen@FreeBSD.org Subject: ports/152765: [PATCH] sysutils/tmux: workaround libevent bug Message-ID: <E1PNzym-000MSp-Mn@nas.feld.me> Resent-Message-ID: <201012020340.oB23eA2I056788@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 152765 >Category: ports >Synopsis: [PATCH] sysutils/tmux: workaround libevent bug >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Dec 02 03:40:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Mark Felder >Release: FreeBSD 8.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD nas.feld.me 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 >Description: [DESCRIBE CHANGES] I was having issues with tmux freezing and it was related to my .tmux.conf setup. I did some research and found this url: http://www.mail-archive.com/tmux-users@lists.sourceforge.net/msg00715.html There is apparently a bug in recent libevent versions. Tmux is not using kqueue because tmux considers it to be broken on FreeBSD 6.x and they do not have any logic in the configure script to detect FreeBSD 6.x. Since FreeBSD 6.x is now EOL and ports do not have to guarantee to work with the 6.x branches it should be safe to commit this. I can confirm this has resolved my issues. Also, I classed this as serious because I cannot use normal supported functionality without it. Added file(s): - files/patch-configure Port maintainer (wen@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- tmux-1.3_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/sysutils/tmux/Makefile /tmp/tmux/Makefile --- /usr/ports/sysutils/tmux/Makefile 2010-08-05 07:27:04.000000000 -0500 +++ /tmp/tmux/Makefile 2010-12-01 21:14:58.000000000 -0600 @@ -7,6 +7,7 @@ PORTNAME= tmux PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} diff -ruN --exclude=CVS /usr/ports/sysutils/tmux/distinfo /tmp/tmux/distinfo --- /usr/ports/sysutils/tmux/distinfo 2010-08-05 07:27:04.000000000 -0500 +++ /tmp/tmux/distinfo 2010-12-01 21:30:08.000000000 -0600 @@ -1,3 +1,2 @@ -MD5 (tmux-1.3.tar.gz) = 96e60cb206de2db0610b9fb6a64c2251 SHA256 (tmux-1.3.tar.gz) = 72c2d6f1c30fb4ccbd29b530a7d8a08e67c9c2d87ac8d67e3806561670fc0362 SIZE (tmux-1.3.tar.gz) = 251999 diff -ruN --exclude=CVS /usr/ports/sysutils/tmux/files/patch-configure /tmp/tmux/files/patch-configure --- /usr/ports/sysutils/tmux/files/patch-configure 1969-12-31 18:00:00.000000000 -0600 +++ /tmp/tmux/files/patch-configure 2010-12-01 21:12:37.000000000 -0600 @@ -0,0 +1,10 @@ +--- configure 2010-06-06 08:00:47.000000000 -0500 ++++ configure.new 2010-12-01 21:07:49.000000000 -0600 +@@ -208,7 +208,6 @@ + FreeBSD|DragonFly) + cat <<EOF >>$CONFIG_H + #define HAVE_ASPRINTF +-#define HAVE_BROKEN_KQUEUE + #define HAVE_BZERO + #define HAVE_DAEMON + #define HAVE_FGETLN --- tmux-1.3_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1PNzym-000MSp-Mn>