Re: [MacPorts] #39122: zmq @3.2.3 test error: ‘strndup’ was not declared in this scope

MacPorts noreply at macports.org
Thu May 16 07:03:01 PDT 2013


#39122: zmq @3.2.3 test error: ‘strndup’ was not declared in this scope
-----------------------+----------------------
  Reporter:  deesto@…  |      Owner:  merijn@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.1.3
Resolution:            |   Keywords:
      Port:  zmq       |
-----------------------+----------------------

Comment (by egall@…):

 Replying to [comment:2 larryv@…]:
 > Replying to [comment:1 egall@…]:
 > > Hm, your system ''should'' have a `strndup` function...
 >
 > OS X didn’t have `strndup` until 10.7.
 >
 > 10.6.8:
 http://www.opensource.apple.com/source/Libc/Libc-594.9.5/include/string.h\\
 > 10.7.0:
 http://www.opensource.apple.com/source/Libc/Libc-763.11/include/string.h

 Really? I could have sworn I'd seen
 {{{
 checking for strndup... yes
 }}}
 scroll by in some configure script before on my Snow Leopard machine...
 then again my Snow Leopard had a bunch of headers on it that it probably
 shouldn't have had, so idk...

-- 
Ticket URL: <https://trac.macports.org/ticket/39122#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list