aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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