[MacPorts] #70381: kismet @2022-08-R1: error: no template named 'binary_function' in namespace 'std' (was: Kismet doesn't build - Sonoma ARM)
MacPorts
noreply at macports.org
Tue Jul 16 01:58:05 UTC 2024
#70381: kismet @2022-08-R1: error: no template named 'binary_function' in namespace
'std'
---------------------------+--------------------
Reporter: cbitterfield | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: kismet |
---------------------------+--------------------
Comment (by ryandesign):
This code is compiling with `-std=gnu++17`, putting the compiler in C++17
mode, but it also uses `std::binary_function` which was deprecated in
C++11 and removed in C++17.
See this bug report: https://github.com/kismetwireless/kismet/issues/476
And this fix:
https://github.com/kismetwireless/kismet/commit/5bae9c68ce45940e03fda7d8abbbfda0fca9e95c
Also we should update the port to the latest version.
--
Ticket URL: <https://trac.macports.org/ticket/70381#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list