From 751a0d6e317a3cea71f48c413148b7af32ae555f Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Tue, 25 Dec 2012 03:14:56 +0100 Subject: 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 --- Library/Formula/iodine.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3