cmigemo: inline the patch

master
Adam Vandenberg 2012-03-10 19:16:36 -08:00
parent f409bfeb50
commit 19656804f3
1 changed files with 13 additions and 1 deletions

View File

@ -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