[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]

MacPorts noreply at macports.org
Mon Sep 30 21:46:10 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 ksbeattie):

 I too can confirm that using the attached `Portfile` and `patch-2.6.11
 -include-stdlib.diff` files, this is now working.

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


More information about the macports-tickets mailing list