[MacPorts] #64191: ruby27: build fails for 10.7 and 10.8; use of undeclared identifier 'kSecRandomDefault'

MacPorts noreply at macports.org
Tue Dec 14 13:11:44 UTC 2021


#64191: ruby27: build fails for 10.7 and 10.8; use of undeclared identifier
'kSecRandomDefault'
----------------------+---------------------
  Reporter:  mascguy  |      Owner:  kimuraw
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.1
Resolution:  fixed    |   Keywords:
      Port:  ruby27   |
----------------------+---------------------
Changes (by kimura wataru <kimuraw@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"404dff7a0088979bbc8de326e36efb76c123e45f/macports-ports"
 404dff7a0088979bbc8de326e36efb76c123e45f/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="404dff7a0088979bbc8de326e36efb76c123e45f"
 lang/ruby27: fix build error at random.c on MacOSX 10.7 .. 10.8

 closes https://trac.macports.org/ticket/64191

 some old macOS SDKs do not import SecRandom.h in Security.h.
 this leads "use of undeclared identifier" at compiling random.c.
 }}}

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


More information about the macports-tickets mailing list