[MacPorts] #69838: R-nloptr: stpncpy: error: expected parameter declarator

MacPorts noreply at macports.org
Sun Apr 28 13:58:06 UTC 2024


#69838: R-nloptr: stpncpy: error: expected parameter declarator
---------------------------------------+--------------------------
  Reporter:  ryandesign                |      Owner:  barracuda156
      Type:  defect                    |     Status:  assigned
  Priority:  Normal                    |  Milestone:
 Component:  ports                     |    Version:  2.9.3
Resolution:                            |   Keywords:
      Port:  R-nloptr, legacy-support  |
---------------------------------------+--------------------------

Comment (by kencu):

 the new stpncpy macro is coming from the 10.7 SDK.

 https://github.com/alexey-lysiuk/macos-
 sdk/blob/2e3a0a902a4d8e641d44224ef2860a4f1ebfd9d7/MacOSX10.7.sdk/usr/include/secure/_string.h#L109

 I think we do need to add something to legacysupport for the new function,
 like is done here:

 https://github.com/alexey-lysiuk/macos-
 sdk/blob/main/MacOSX10.6.sdk/usr/include/secure/_string.h

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


More information about the macports-tickets mailing list