Skip to content

Instantly share code, notes, and snippets.

@ganta
Created November 10, 2012 02:26
Show Gist options
  • Save ganta/4049595 to your computer and use it in GitHub Desktop.
Save ganta/4049595 to your computer and use it in GitHub Desktop.
HomeBrew tmux UTF-8-MAC patch
diff --git a/Library/Formula/tmux.rb b/Library/Formula/tmux.rb
index f12619b..ed3d217 100644
--- a/Library/Formula/tmux.rb
+++ b/Library/Formula/tmux.rb
@@ -20,7 +20,12 @@ class Tmux < Formula
# 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?
+ ps = []
+ ps << "https://raw.github.com/gist/3672727/4905b932ca8190df53997630b3961101aea6865c/tmux-1.6-nfd.patch"
+
+ if build.stable?
+ ps << DATA
+ end
end
def install
@ganta
Copy link
Author

ganta commented Feb 1, 2013

This patch is not required from version 1.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment