cmigemo: inline the patch
parent
f409bfeb50
commit
19656804f3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue