[MacPorts] #61754: graphviz-gui @2.40.1: error: implicit declaration of function 'sysctlbyname' is invalid in C99

MacPorts noreply at macports.org
Thu Dec 10 18:05:30 UTC 2020


#61754: graphviz-gui @2.40.1: error: implicit declaration of function
'sysctlbyname' is invalid in C99
---------------------------+-----------------------------
  Reporter:  jptrainor     |      Owner:  ryandesign
      Type:  defect        |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:  fixed         |   Keywords:  bigsur catalina
      Port:  graphviz-gui  |
---------------------------+-----------------------------

Comment (by jptrainor):

 Yes, you're right. My error. I'll file the second issue as a new bug.
 Thanks.

 Replying to [comment:6 kencu]:
 > I know you won't think so -- here is your first error (fixed by this
 ticket):
 > {{{
 > 3341    :info:build
 /Volumes/ExtStorage/local/var/macports/build/_Volumes_ExtStorage_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz
 /graphviz-gui/work/graphviz-2.40.1/macosx/GVWindowController.m:122:5:
 error: implicit declaration of function 'sysctlbyname' is invalid in C99
 [-Werror,-Wimplicit-function-declaration]
 > 3342  :info:build     sysctlbyname("kern.osrelease", darwinStr, &size,
 NULL, 0);
 > 3343  :info:build     ^
 > }}}

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


More information about the macports-tickets mailing list