aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tmux.rb15
1 files changed, 10 insertions, 5 deletions
diff --git a/Library/Formula/tmux.rb b/Library/Formula/tmux.rb
index f12619b2b..5e7b5c166 100644
--- a/Library/Formula/tmux.rb
+++ b/Library/Formula/tmux.rb
@@ -15,12 +15,17 @@ class Tmux < Formula
depends_on :libtool
end
- # This patch adds the implementation of osdep_get_cwd for Darwin platform,
- # so that tmux can get current working directory correctly under Mac OS.
- # NOTE: it applies to 1.6 only, and should be removed when 1.7 is out.
- # (because it has been merged upstream)
def patches
- DATA if build.stable?
+ # Fix for Japanese characters. See:
+ # http://sourceforge.net/tracker/?func=detail&aid=3566884&group_id=200378&atid=973264
+ p = ['http://sourceforge.net/tracker/download.php?group_id=200378&atid=973264&file_id=453002&aid=3566884']
+ # This patch adds the implementation of osdep_get_cwd for Darwin platform,
+ # so that tmux can get current working directory correctly under Mac OS.
+ # NOTE: it applies to 1.6 only, and should be removed when 1.7 is out.
+ # (because it has been merged upstream)
+ p << DATA if build.stable?
+
+ p
end
def install