From 134273d9aec10c1cdf5bb09c94b0f457659f9db1 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Fri, 9 Jun 2017 18:39:43 -0700 Subject: [PATCH] riemann-client 1.10.0 Closes #14437. Signed-off-by: ilovezfs --- Formula/riemann-client.rb | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Formula/riemann-client.rb b/Formula/riemann-client.rb index b3ca1bc6cc..fef90b4feb 100644 --- a/Formula/riemann-client.rb +++ b/Formula/riemann-client.rb @@ -1,8 +1,8 @@ class RiemannClient < Formula desc "C client library for the Riemann monitoring system" homepage "https://github.com/algernon/riemann-c-client" - url "https://github.com/algernon/riemann-c-client/archive/riemann-c-client-1.9.1.tar.gz" - sha256 "6c8279362384e0ee01cb84a12f645bf7229c7d61f565158fe4ecc82c36ce8dc0" + url "https://github.com/algernon/riemann-c-client/archive/riemann-c-client-1.10.0.tar.gz" + sha256 "74e6c8f79a230598278f44533b42b48a2f9531523a7e3d458e5618efc8f96b22" head "https://github.com/algernon/riemann-c-client.git" bottle do @@ -20,6 +20,13 @@ class RiemannClient < Formula depends_on "json-c" depends_on "protobuf-c" + # Fix build failure "error: only weak aliases are supported on darwin" + # Reported 11 Jun 2017 https://github.com/algernon/riemann-c-client/issues/19 + patch do + url "https://raw.githubusercontent.com/Homebrew/formula-patches/1edeff1/riemann-client/alias-fix.diff" + sha256 "4d4c33ab109688364ebbbcbf2487b1f80dd9b7aece0dfed8c4f1d804d0b56f3e" + end + def install system "autoreconf", "-i" system "./configure", "--prefix=#{prefix}"