Skip to content

Commit

Permalink
net-mgmt/metronome: Fix build with clang-16.x
Browse files Browse the repository at this point in the history
  • Loading branch information
krionbsd committed Jul 20, 2023
1 parent 1d2661d commit 0ff8163
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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
Expand Down
11 changes: 11 additions & 0 deletions 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
{

0 comments on commit 0ff8163

Please sign in to comment.