Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2023 17:05:53 GMT
From:      Kirill Ponomarev <krion@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0ff816386556 - main - net-mgmt/metronome: Fix build with clang-16.x
Message-ID:  <202307201705.36KH5rQ1070817@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by krion:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0ff8163865567ad705b0f465a00ba72c8fa6ba3e

commit 0ff8163865567ad705b0f465a00ba72c8fa6ba3e
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2023-07-20 17:05:38 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2023-07-20 17:05:38 +0000

    net-mgmt/metronome: Fix build with clang-16.x
---
 net-mgmt/metronome/Makefile               |  2 +-
 net-mgmt/metronome/files/patch-iputils.hh | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/net-mgmt/metronome/Makefile b/net-mgmt/metronome/Makefile
index 0d87faa828a8..df85123ff01b 100644
--- a/net-mgmt/metronome/Makefile
+++ b/net-mgmt/metronome/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	metronome
 DISTVERSION=	0.9.0
-PORTREVISION=	17
+PORTREVISION=	18
 CATEGORIES=	net-mgmt dns
 
 MAINTAINER=	krion@FreeBSD.org
diff --git a/net-mgmt/metronome/files/patch-iputils.hh b/net-mgmt/metronome/files/patch-iputils.hh
new file mode 100644
index 000000000000..4f23138c8ca1
--- /dev/null
+++ b/net-mgmt/metronome/files/patch-iputils.hh
@@ -0,0 +1,11 @@
+--- iputils.hh.orig	2023-07-20 17:03:02 UTC
++++ iputils.hh
+@@ -89,7 +89,7 @@ union ComboAddress {
+       return memcmp(&sin6.sin6_addr.s6_addr, &rhs.sin6.sin6_addr.s6_addr, 16) > 0;
+   }
+ 
+-  struct addressOnlyLessThan: public std::binary_function<string, string, bool>
++  struct addressOnlyLessThan: public std::__binary_function<string, string, bool>
+   {
+     bool operator()(const ComboAddress& a, const ComboAddress& b) const
+     {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307201705.36KH5rQ1070817>