aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2010-12-21 21:03:13 +0000
committerMike McQuaid2010-12-21 21:03:13 +0000
commit0a56d3385dc2b4fb943da8c27bfe8cd1dba0dbfb (patch)
tree8cc93681c23cc784fd51af3f6446c1ebfbd4706d /Library/Formula
parent995b1c45399d21d7693cef5a959ee38e940c6526 (diff)
downloadhomebrew-0a56d3385dc2b4fb943da8c27bfe8cd1dba0dbfb.tar.bz2
Remove broken tmux patch.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tmux.rb32
1 files changed, 0 insertions, 32 deletions
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 <Formula
depends_on 'libevent'
- def patches
- # Patch originally from Macports ticket #18357
- # Committed in Macports rev 58563
- # https://trac.macports.org/changeset/58563
- { :p1 => DATA }
- end
-
def install
ENV['PREFIX'] = prefix
system "./configure"
@@ -28,28 +21,3 @@ class Tmux <Formula
system "make install"
end
end
-
-__END__
-diff -Nur tmux-1.3/server.c tmux-1.3.new/server.c
---- tmux-1.3/server.c 2010-06-23 09:21:39.000000000 +1000
-+++ tmux-1.3.new/server.c 2010-11-29 08:48:48.000000000 +1100
-@@ -35,6 +35,8 @@
- #include <time.h>
- #include <unistd.h>
-
-+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)