aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-10 19:16:36 -0800
committerAdam Vandenberg2012-03-10 19:16:36 -0800
commit864aae58996f3bc57a0b0be1eb3ed12e8a8f2fa7 (patch)
tree3a532cc8e5cb59b0422701c74930e13abe018ffa /Library
parent44f1b7702a25033572b56300ba190531fed0dfcb (diff)
downloadhomebrew-864aae58996f3bc57a0b0be1eb3ed12e8a8f2fa7.tar.bz2
cmigemo: inline the patch
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/cmigemo.rb14
1 files changed, 13 insertions, 1 deletions
diff --git a/Library/Formula/cmigemo.rb b/Library/Formula/cmigemo.rb
index 786f64831..5388f89dd 100644
--- a/Library/Formula/cmigemo.rb
+++ b/Library/Formula/cmigemo.rb
@@ -9,7 +9,7 @@ class Cmigemo < Formula
# Patch per discussion at: https://github.com/mxcl/homebrew/pull/7005
def patches
- "https://raw.github.com/gist/1145129/d6b4ad34f3763cac352dbc6d96cf6aa2566e4b7a/wordbuf.c.patch"
+ DATA
end
def install
@@ -30,3 +30,15 @@ class Cmigemo < Formula
EOS
end
end
+
+__END__
+--- a/src/wordbuf.c 2011-08-15 02:57:05.000000000 +0900
++++ b/src/wordbuf.c 2011-08-15 02:57:17.000000000 +0900
+@@ -9,6 +9,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <limits.h>
+ #include "wordbuf.h"
+
+ #define WORDLEN_DEF 64