[MacPorts] #67988: abseil: builds failing for 10.7/10.8; undeclared identifiers 'snprintf_l' and 'asprintf_l'

MacPorts noreply at macports.org
Sat Aug 19 00:56:24 UTC 2023


#67988: abseil: builds failing for 10.7/10.8; undeclared identifiers 'snprintf_l'
and 'asprintf_l'
----------------------+-------------------------------
  Reporter:  mascguy  |      Owner:  judaew
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.1
Resolution:           |   Keywords:  lion mountainlion
      Port:  abseil   |
----------------------+-------------------------------

Comment (by mascguy):

 Replying to [comment:2 mascguy]:
 > Based on a `cmake` ticket from three years ago, these functions -
 provided by `xlocale.h` - may be guarded with `_DARWIN_C_SOURCE` [for
 10.7/10.8].

 And yes indeed, simply defining `_DARWIN_C_SOURCE` for 10.7/10.8 fixes the
 issue. Fix pending ASAP.

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


More information about the macports-tickets mailing list