aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Lau2014-02-18 18:55:13 +0800
committerAdam Vandenberg2014-02-21 07:34:33 -0800
commit689d4caadf071e039d4beb84823f4193d351d393 (patch)
tree9c5e8c135f905aa5cc9684c035b4c89edb567057 /Library
parentd838c76dece93ab6173cf8ad114146d151964ae2 (diff)
downloadhomebrew-689d4caadf071e039d4beb84823f4193d351d393.tar.bz2
tig: patch for better multibyte character support
Closes #26806. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/tig.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/tig.rb b/Library/Formula/tig.rb
index 792c1b091..10e99abd9 100644
--- a/Library/Formula/tig.rb
+++ b/Library/Formula/tig.rb
@@ -13,6 +13,15 @@ class Tig < Formula
depends_on "xmlto"
end
+ # fixes the problem with displaying/searching multibyte characters
+ # upstream pull request: https://github.com/jonas/tig/issues/99
+ def patches
+ [
+ "https://github.com/spin6lock/tig/commit/159eff692b24aa05f766f76922b0f2515fbbf415.diff",
+ "https://github.com/spin6lock/tig/commit/70cb91e7d210b92ab012d9819bd20ebe92885bd6.diff"
+ ]
+ end
+
def install
system "./autogen.sh" if build.head?
system "./configure", "--prefix=#{prefix}", "--sysconfdir=#{etc}"