aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorNguyen Anh Quynh2014-03-11 12:49:06 +0800
committerMike McQuaid2014-03-13 13:09:10 +0000
commit6808ce541f7969925cda67afc859897d8024a72f (patch)
tree905de90d0272e774c0789d3eb4179717ff69f60f /Library/Formula
parent9b767bccaab6394f2ac2f30ced96e64d86c40753 (diff)
downloadhomebrew-6808ce541f7969925cda67afc859897d8024a72f.tar.bz2
Capstone 2.1.1
Update Capstone to 2.1.1
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/capstone.rb18
1 files changed, 11 insertions, 7 deletions
diff --git a/Library/Formula/capstone.rb b/Library/Formula/capstone.rb
index b49aeea4a..9fe34c7f2 100644
--- a/Library/Formula/capstone.rb
+++ b/Library/Formula/capstone.rb
@@ -2,12 +2,12 @@ require 'formula'
class Capstone < Formula
homepage 'http://capstone-engine.org'
- url 'http://capstone-engine.org/download/2.1/capstone-2.1.tgz'
- sha1 '3e5fe91684cfc76d73caa857a268332ac9d40659'
+ url 'http://capstone-engine.org/download/2.1/capstone-2.1.1.tgz'
+ sha1 'f4b114aba2626832f1c217191faaa748245d76a8'
def patches
- # Fix pkgconfig path. Fixed upstream:
- # https://github.com/aquynh/capstone/commit/ae603d
+ # Fix Makefile. Upstream fix is at :
+ # https://github.com/aquynh/capstone/commit/22b867e
DATA
end
@@ -22,12 +22,16 @@ class Capstone < Formula
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 @@
+--- a/Makefile.org 2014-03-11 16:41:54.000000000 +0800
++++ a/Makefile 2014-03-11 16:43:12.000000000 +0800
+@@ -145,17 +145,6 @@
ifeq ($(UNAME_S),Darwin)
EXT = dylib
AR_EXT = a
+-ifneq ($(USE_SYS_DYN_MEM),yes)
+-# remove string check because OSX kernel complains about missing symbols
+-CFLAGS += -D_FORTIFY_SOURCE=0
+-endif
-# By default, suppose that Brew is installed & use Brew path for pkgconfig file
-PKGCFCGDIR = /usr/local/lib/pkgconfig
-# is Macport installed instead?