[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:33:06 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):
Replying to [comment:16 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
> --------------------------
> }}}
You need to modify the embedded paths in the patch, relative to where it's
run from. Try removing the `old/` and `new/` prefixes from the two
filenames.
--
Ticket URL: <https://trac.macports.org/ticket/61511#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list