aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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