From 0a56d3385dc2b4fb943da8c27bfe8cd1dba0dbfb Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 21 Dec 2010 21:03:13 +0000 Subject: Remove broken tmux patch. --- Library/Formula/tmux.rb | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/tmux.rb b/Library/Formula/tmux.rb index 589a18188..f3cc8c42e 100644 --- a/Library/Formula/tmux.rb +++ b/Library/Formula/tmux.rb @@ -7,13 +7,6 @@ class Tmux DATA } - end - def install ENV['PREFIX'] = prefix system "./configure" @@ -28,28 +21,3 @@ class Tmux - #include - -+void *_vprocmgr_detach_from_console(unsigned int flags); -+ - #include "tmux.h" - - /* -@@ -137,8 +139,8 @@ - * Must daemonise before loading configuration as the PID changes so - * $TMUX would be wrong for sessions created in the config file. - */ -- if (daemon(1, 0) != 0) -- fatal("daemon failed"); -+ if (_vprocmgr_detach_from_console(0) != NULL) -+ fatalx("_vprocmgr_detach_from_console failed"); - - /* event_init() was called in our parent, need to reinit. */ - if (event_reinit(ev_base) != 0) -- cgit v1.2.3