aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorFilippo Valsorda2012-12-25 03:14:56 +0100
committerJack Nagel2012-12-24 22:02:57 -0600
commit751a0d6e317a3cea71f48c413148b7af32ae555f (patch)
tree712d84be6bf40984149c4860d797f0fd0be9357c /Library/Formula
parent4562ce41f5dca8b3b4bb6cd385b46e6b5263d926 (diff)
downloadhomebrew-751a0d6e317a3cea71f48c413148b7af32ae555f.tar.bz2
iodine: add patch for Mountain Lion compatibility
Remove failing inreplaces. This applies the e1e438497a83dbe6800212a0e5cb632907d1b3d9 patch by @zschoche for Mountain Lion compatibility. It has gone unheard upstream yarrick/iodine#1 and iodine does not work on 10.8 without. Closes #16736. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/iodine.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/iodine.rb b/Library/Formula/iodine.rb
index 426753b1c..d6051c04c 100644
--- a/Library/Formula/iodine.rb
+++ b/Library/Formula/iodine.rb
@@ -5,12 +5,12 @@ class Iodine < Formula
homepage 'http://code.kryo.se/iodine/'
sha1 '4fa9a248b8a84df8a727a5d749e669e58136edca'
- def install
- unless MacOS.version == :leopard
- inreplace ["src/common.c", "src/dns.c", "src/iodine.c", "src/iodined.c"],
- "arpa/nameser8_compat", "arpa/nameser_compat"
- end
+ def patches
+ # 10.8 compatibility; see https://github.com/yarrick/iodine/pull/1
+ "https://github.com/zschoche/iodine/commit/e1e438497a83dbe6800212a0e5cb632907d1b3d9.patch"
+ end
+ def install
system "make", "install", "prefix=#{prefix}"
end
end