[MacPorts] #62279: p11-kit @ 0.23.22_0: error: use of undeclared identifier 'SIZE_MAX' (was: p11-kit @ 0.23.22_0 : Failed to build p11-kit: command execution failed)

MacPorts noreply at macports.org
Sat Feb 13 06:44:37 UTC 2021


#62279: p11-kit @ 0.23.22_0: error: use of undeclared identifier 'SIZE_MAX'
----------------------+--------------------------
  Reporter:  letaage  |      Owner:  lbschenkel
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.6.4
Resolution:           |   Keywords:  mountainlion
      Port:  p11-kit  |
----------------------+--------------------------
Changes (by ryandesign):

 * cc: lbschenkel@… (removed)
 * owner:  (none) => lbschenkel
 * status:  new => assigned
 * keywords:  Mountainlion => mountainlion


Comment:

 `SIZE_MAX` is defined in `<stdint.h>`. Perhaps they forgot to `#include`
 it. I don't see it in lists.c.

 I do see in ChangeLog that they've fixed this problem twice before.

 I see they already fixed it upstream, so we just need to add this patch:

 https://github.com/p11-glue/p11-kit/commit/507c394cfcf4edffc5e4450c5d737e545c26b857

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


More information about the macports-tickets mailing list