[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
Thu Jan 14 20:06:52 UTC 2021


#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):

 Replying to [comment:28 ghosthound]:
 > I'm reluctant to do much to support a very old version of macOS, and in
 particular not willing to fall back to an older wireshark release to do so
 - that impacts everyone using a "current" version of macOS.

 The proposed immediate-term change wouldn't affect users of later macOS
 releases, and is trivial to maintain.

 To ensure we're on the same page... it would entail simple logic in the
 portfile, such as:
 {{{
 if { ${os.major} >= <darwin_version_that_support_qt59, etc> } {
     version 3.4.2
     <...3.4.2-specific patches, etc...>
 } else {
     version 3.4.1
     <...3.4.1-specific patches, etc...>
 }
 }}}

 Does that make sense?

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


More information about the macports-tickets mailing list