aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authoradnissen2014-02-21 08:15:32 -0500
committerAdam Vandenberg2014-02-22 09:21:04 -0800
commitfcb31619f198b738744b8d867319f1aa4b2fb749 (patch)
treeb81d431b92247cf709e48b640f0bb5b56dece078 /Library/Formula
parent8b4e80f3b6b75933598315179cd31d57af656ba8 (diff)
downloadhomebrew-fcb31619f198b738744b8d867319f1aa4b2fb749.tar.bz2
tmux 1.9
Closes #26884. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tmux.rb55
1 files changed, 2 insertions, 53 deletions
diff --git a/Library/Formula/tmux.rb b/Library/Formula/tmux.rb
index e09215b8b..f3e3a7389 100644
--- a/Library/Formula/tmux.rb
+++ b/Library/Formula/tmux.rb
@@ -2,8 +2,8 @@ require 'formula'
class Tmux < Formula
homepage 'http://tmux.sourceforge.net'
- url 'http://downloads.sourceforge.net/project/tmux/tmux/tmux-1.8/tmux-1.8.tar.gz'
- sha1 '08677ea914e1973ce605b0008919717184cbd033'
+ url 'http://downloads.sourceforge.net/project/tmux/tmux/tmux-1.9/tmux-1.9.tar.gz'
+ sha1 '43197e69716a0430a9e856c13df8ceae31783078'
head do
url 'git://git.code.sf.net/p/tmux/tmux-code'
@@ -16,16 +16,6 @@ class Tmux < Formula
depends_on 'pkg-config' => :build
depends_on 'libevent'
- def patches
- # Fixes installation failure on Snow Leopard
- # http://sourceforge.net/mailarchive/forum.php?thread_name=CAJfQvvc2QDU%3DtXWb-sc-NK0J8cgnDRMDod6CNKO1uYqu%3DY5CXg%40mail.gmail.com&forum_name=tmux-users
- # http://sourceforge.net/p/tmux/tickets/41/
- # Fixes abnormal displaying Korean letters on Mac OS X
- # https://gist.github.com/niceview/5343842
- # Accepted upstream, can be removed in next version.
- DATA unless build.head?
- end
-
def install
system "sh", "autogen.sh" if build.head?
@@ -49,44 +39,3 @@ class Tmux < Formula
system "#{bin}/tmux", "-V"
end
end
-
-__END__
-diff --git a/osdep-darwin.c b/osdep-darwin.c
-index 23de9d5..b5efe84 100644
---- a/osdep-darwin.c
-+++ b/osdep-darwin.c
-@@ -33,17 +33,17 @@ struct event_base *osdep_event_init(void);
- char *
- osdep_get_name(int fd, unused char *tty)
- {
-- struct proc_bsdshortinfo bsdinfo;
-+ struct proc_bsdinfo bsdinfo;
- pid_t pgrp;
- int ret;
-
- if ((pgrp = tcgetpgrp(fd)) == -1)
- return (NULL);
-
-- ret = proc_pidinfo(pgrp, PROC_PIDT_SHORTBSDINFO, 0,
-+ ret = proc_pidinfo(pgrp, PROC_PIDTBSDINFO, 0,
- &bsdinfo, sizeof bsdinfo);
-- if (ret == sizeof bsdinfo && *bsdinfo.pbsi_comm != '\0')
-- return (strdup(bsdinfo.pbsi_comm));
-+ if (ret == sizeof bsdinfo && *bsdinfo.pbi_comm != '\0')
-+ return (strdup(bsdinfo.pbi_comm));
- return (NULL);
- }
-
-diff --git a/utf8.c b/utf8.c
-index 88d847a..34e5087 100644
---- a/utf8.c
-+++ b/utf8.c
-@@ -173,7 +173,7 @@ struct utf8_width_entry utf8_width_table[] = {
- { 0x30000, 0x3fffd, 2, NULL, NULL },
- { 0x00711, 0x00711, 0, NULL, NULL },
- { 0x0fe00, 0x0fe0f, 0, NULL, NULL },
-- { 0x01160, 0x011ff, 0, NULL, NULL },
-+ { 0x01160, 0x011ff, 1, NULL, NULL },
- { 0x0180b, 0x0180d, 0, NULL, NULL },
- { 0x10a3f, 0x10a3f, 0, NULL, NULL },
- { 0x00981, 0x00981, 0, NULL, NULL },