[MacPorts] #70889: oath-toolkit @2.6.7: error: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (was: oath-toolkit fails to build on Sequoia 15.0 on M2 Mac mini)

MacPorts noreply at macports.org
Fri Sep 27 05:13:05 UTC 2024


#70889: oath-toolkit @2.6.7: error: call to undeclared library function 'realloc'
with type 'void *(void *, unsigned long)'; ISO C99 and later do not support
implicit function declarations [-Wimplicit-function-declaration]
----------------------------+---------------------------
  Reporter:  laughingtiger  |      Owner:  fracai
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.10.1
Resolution:                 |   Keywords:  arm64 sequoia
      Port:  oath-toolkit   |
----------------------------+---------------------------

Comment (by ryandesign):

 In version 2.6.11, two of the three files you're patching already include
 stdlib.h. Let's start by trying to update the port to that version, adding
 the patch for the remaining file if it's needed.

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


More information about the macports-tickets mailing list