aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorOndřej Surý2014-09-08 15:28:57 +0200
committerJack Nagel2014-09-10 00:37:21 -0500
commitce49f3f56927f69f0ed9d6709050302702160b76 (patch)
tree4ec9d88c76f9c3b261744a1ff31f41491f4fa062 /Library
parentbccc4dd70f1a4bb73ddabb7e1939c6b4a5018d7d (diff)
downloadhomebrew-ce49f3f56927f69f0ed9d6709050302702160b76.tar.bz2
Knot DNS 1.5.2
Update Knot DNS to new upstream release 1.5.2 with patch to replace pthread_spinlock_t with pthread_mutex_t to compile on the Mac OS X Closes #32158. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/knot.rb12
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",