czmq: revision for zeromq

patch for ZeroMQ 4.2.4 compatibility

Closes #25620.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2018-03-22 03:32:45 -07:00
parent e2009ec799
commit b19760dad6

View file

@ -1,8 +1,19 @@
class Czmq < Formula class Czmq < Formula
desc "High-level C binding for ZeroMQ" desc "High-level C binding for ZeroMQ"
homepage "http://czmq.zeromq.org/" homepage "http://czmq.zeromq.org/"
url "https://github.com/zeromq/czmq/releases/download/v4.1.0/czmq-4.1.0.tar.gz" revision 1
sha256 "3befa35b4886b5298e8329b4f0aa5bb9bde0e7439bd3c5c53295cb988371fc11"
stable do
url "https://github.com/zeromq/czmq/releases/download/v4.1.0/czmq-4.1.0.tar.gz"
sha256 "3befa35b4886b5298e8329b4f0aa5bb9bde0e7439bd3c5c53295cb988371fc11"
# ZeroMQ 4.2.4 compatibility
# 7 Mar 2018 "Problem: atexit called after zmq static object destruction"
patch do
url "https://github.com/zeromq/czmq/commit/7debf8ff8.patch?full_index=1"
sha256 "b797072908bcdfb2e11bbabe0351c9392b4946ae99d439d34bd922a77d7896c9"
end
end
bottle do bottle do
cellar :any cellar :any