[MacPorts] #61511: wireshark3 @3.4.0_0+cares+chmodbpf+geoip+gnutls+kerberos5+libsmi+python37+qt5+zlib: error: use of undeclared identifier 'CLOCK_REALTIME'

MacPorts noreply at macports.org
Wed Dec 23 17:45:48 UTC 2020


#61511: wireshark3
@3.4.0_0+cares+chmodbpf+geoip+gnutls+kerberos5+libsmi+python37+qt5+zlib:
error: use of undeclared identifier 'CLOCK_REALTIME'
-------------------------+----------------------------------
  Reporter:  thetrial    |      Owner:  ghosthound
      Type:  defect      |     Status:  accepted
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.4
Resolution:              |   Keywords:  legacy-os, elcapitan
      Port:  wireshark3  |
-------------------------+----------------------------------

Comment (by mascguy):

 I'm seeing the original compilation failure. Are you sure the patch was
 applied successfully?

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.2/ui/qt/import_text_dialog.cpp:388:27:
 error: use of undeclared identifier 'CLOCK_REALTIME'
 :info:build             clock_gettime(CLOCK_REALTIME, &timenow); /*
 supported by Linux and MacOS */
 :info:build                           ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61511#comment:20>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list