aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2023-06-06 14:45:29 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-06 17:47:37 +0000
commit6b379f1b6bbf8967800fa9e2b164e2a9b58f6778 (patch)
treee5f9ce17c36f4441016b841e3b2e4ebdfc4c6a92
parentaf3b40f8fe4b392cbc8c585652688dba38812543 (diff)
downloadports-6b379f1b6bbf8967800fa9e2b164e2a9b58f6778.tar.gz
ports-6b379f1b6bbf8967800fa9e2b164e2a9b58f6778.zip
net/libzmq4: Fix build with libc++ 16
Like recent versions of GNU libstdc++, libc++ 16 now has a static assertion to ensure that custom allocators have the correct rebind member, and this assertion fires error when building. Upstream fixed this in <https://github.com/zeromq/libzmq/commit/438d5d88>, so apply that patch. PR: 271850
-rw-r--r--net/libzmq4/Makefile3
-rw-r--r--net/libzmq4/distinfo4
2 files changed, 6 insertions, 1 deletions
diff --git a/net/libzmq4/Makefile b/net/libzmq4/Makefile
index c2b8c730820c..54e3db50c773 100644
--- a/net/libzmq4/Makefile
+++ b/net/libzmq4/Makefile
@@ -5,6 +5,9 @@ CATEGORIES= net
MASTER_SITES= https://github.com/zeromq/libzmq/releases/download/${DISTVERSIONFULL}/
DISTNAME= zeromq-${DISTVERSION}
+PATCH_SITES= https://github.com/zeromq/libzmq/commit/
+PATCHFILES= 438d5d88392baffa6c2c5e0737d9de19d6686f0d.patch:-p1
+
MAINTAINER= bofh@FreeBSD.org
COMMENT= ZeroMQ core library (Version 4)
WWW= https://www.zeromq.org/
diff --git a/net/libzmq4/distinfo b/net/libzmq4/distinfo
index 6b51cfb6fde1..0fdbb7d01440 100644
--- a/net/libzmq4/distinfo
+++ b/net/libzmq4/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1621855285
+TIMESTAMP = 1686062378
SHA256 (zeromq-4.3.4.tar.gz) = c593001a89f5a85dd2ddf564805deb860e02471171b3f204944857336295c3e5
SIZE (zeromq-4.3.4.tar.gz) = 2486520
+SHA256 (438d5d88392baffa6c2c5e0737d9de19d6686f0d.patch) = 08f8068e109225ff628f9205597b917f633f02bc0be9382b06fbd98b0de2f8a0
+SIZE (438d5d88392baffa6c2c5e0737d9de19d6686f0d.patch) = 3537