diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/knot.rb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Library/Formula/knot.rb b/Library/Formula/knot.rb index 3e181a1a8..57cbe9c7c 100644 --- a/Library/Formula/knot.rb +++ b/Library/Formula/knot.rb @@ -2,9 +2,8 @@ require "formula" class Knot < Formula homepage "https://www.knot-dns.cz/" - url "https://secure.nic.cz/files/knot-dns/knot-1.4.7.tar.gz" - sha1 "eed17930b0cd94375f73951fe7582b3f38b4e6f3" - revision 1 + url "https://secure.nic.cz/files/knot-dns/knot-1.5.2.tar.gz" + sha1 "4605540f944b6dcd8401278a5bd2f85b6c400086" bottle do revision 1 @@ -17,6 +16,13 @@ class Knot < Formula depends_on "openssl" depends_on "libidn" + # pthread_spinlock_t doesn't exist on Mac OS X + # https://gitlab.labs.nic.cz/labs/knot/issues/293 + patch do + url "https://gitlab.labs.nic.cz/labs/knot/commit/3d3f31.diff" + sha1 "76770789fbe833af966f94fa44b6c55a9df52318" + end + def install system "./configure", "--disable-debug", "--disable-dependency-tracking", |
