aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2011-12-10 10:36:14 -0800
committerMisty De Meo2011-12-10 10:36:14 -0800
commit543e9b7ddd75198442ce48b6d1471e2b91302f69 (patch)
treeaf2fca464d05904b12803082f4b575b74a509f19 /Library
parentf4847b50318a2626968474f49ad4cf39f2ccf3ee (diff)
parentdb35cfbff4d22833f1590094d58eacd129bedd79 (diff)
downloadhomebrew-543e9b7ddd75198442ce48b6d1471e2b91302f69.tar.bz2
Merge pull request #8148 from geekman/master
Added support for armv7 binaries to ldid Closes #8148.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ldid.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/ldid.rb b/Library/Formula/ldid.rb
index a80c6196d..3c3cc149c 100644
--- a/Library/Formula/ldid.rb
+++ b/Library/Formula/ldid.rb
@@ -5,8 +5,25 @@ class Ldid < Formula
homepage 'http://www.saurik.com/id/8'
md5 '634c2f8b8a084046883e3793f6580e07'
+ def patches
+ DATA
+ end
+
def install
system "#{ENV.cxx} -I . -o util/ldid{,.cpp} -x c util/{lookup2,sha1}.c"
bin.install ["util/ldid"]
end
end
+
+__END__
+diff -ur ldid-1.0.610/util/ldid.cpp ldid-1.0.610-p/util/ldid.cpp
+--- ldid-1.0.610/util/ldid.cpp 2009-05-20 14:33:45.000000000 +0800
++++ ldid-1.0.610-gm/util/ldid.cpp 2011-10-14 16:58:56.000000000 +0800
+@@ -557,6 +557,7 @@
+ case 12: switch (framework->cpusubtype) {
+ case 0: arch = "arm"; break;
+ case 6: arch = "armv6"; break;
++ case 9: arch = "armv7"; break;
+ default: arch = NULL; break;
+ } break;
+