packages: update Brew formula to 2.1 by embedding patch inside
diff --git a/packages/homebrew/capstone.rb b/packages/homebrew/capstone.rb
index 581d560..2c3297d 100644
--- a/packages/homebrew/capstone.rb
+++ b/packages/homebrew/capstone.rb
@@ -7,7 +7,7 @@
 
   def patches
     # fix pkgconfig path
-    "https://raw.github.com/aquynh/capstone/next/packages/homebrew/patch-Makefile-2.1"
+    DATA
   end
 
   def install
@@ -17,3 +17,22 @@
     system "./make.sh", "install"
   end
 end
+
+
+__END__
+--- a/Makefile.org	2014-03-05 11:26:42.000000000 +0800
++++ a/Makefile	2014-03-05 11:28:34.000000000 +0800
+@@ -144,13 +144,6 @@
+ ifeq ($(UNAME_S),Darwin)
+ EXT = dylib
+ AR_EXT = a
+-# By default, suppose that Brew is installed & use Brew path for pkgconfig file
+-PKGCFCGDIR = /usr/local/lib/pkgconfig
+-# is Macport installed instead?
+-ifneq (,$(wildcard /opt/local/bin/port))
+-# then correct the path for pkgconfig file
+-PKGCFCGDIR = /opt/local/lib/pkgconfig
+-endif
+ else
+ # Cygwin?
+ IS_CYGWIN := $(shell $(CC) -dumpmachine | grep -i cygwin | wc -l)