[MacPorts] #61990: xdotool: error: implicit declaration of function 'strdup' is invalid in C99 (was: xdotool does not compile on Big Sur)

MacPorts noreply at macports.org
Wed Jan 6 11:29:07 UTC 2021


#61990: xdotool: error: implicit declaration of function 'strdup' is invalid in C99
----------------------+-----------------------------
  Reporter:  iay      |      Owner:  ryandesign
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.6.4
Resolution:           |   Keywords:  catalina bigsur
      Port:  xdotool  |
----------------------+-----------------------------
Changes (by ryandesign):

 * keywords:   => catalina bigsur


Comment:

 Thanks for reporting this.

 Many ports fail to build with Xcode 12 with implicit function declaration
 errors. They need to be fixed by including the function before using it,
 for example by including the header where the function is defined. We fix
 these issues as we find them and as we can get around to it.

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


More information about the macports-tickets mailing list