[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
Tue Dec 22 18:27:16 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 thetrial):

 Hm, something went wrong.

 {{{
 can't find file to patch at input line 3
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
 |--- old/ui/qt/import_text_dialog.cpp   2020-12-20 11:02:56.000000000
 -0500
 |+++ new/ui/qt/import_text_dialog.cpp   2020-12-15 16:53:01.000000000
 -0500
 --------------------------
 File to patch:
 }}}

 I don’t know why. I tried to apply your patch with:

 {{{
 cd $(port dir wireshark3)
 net/wireshark3 # patch -p0 < ~/Downloads/wireshark3-patch-fix-
 clock_realtime.diff
 }}}

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


More information about the macports-tickets mailing list